diff options
author | Phil Blundell <philb@gnu.org> | 2005-01-28 16:46:09 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2005-01-28 16:46:09 +0000 |
commit | 5e4a6d8ae715b6dc7108e87eed505c785589fe79 (patch) | |
tree | 33c170fd0404f663bdc3223466d47156a2147a7e /packages/network-suspend-scripts | |
parent | a49cba33094eab7435d9cce5a7f4b6f497e6e372 (diff) |
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into stealth.nexus.co.uk:/home/pb/oe/oe
2005/01/28 16:45:10+00:00 nexus.co.uk!pb
apply latest networking suspend/resume patch from Erik Hovland
BKrev: 41fa6c51_5vsL558uqf9_CoPZTqNWg
Diffstat (limited to 'packages/network-suspend-scripts')
-rw-r--r-- | packages/network-suspend-scripts/files/usbnet | 0 | ||||
-rw-r--r-- | packages/network-suspend-scripts/network-suspend-scripts.bb | 18 |
2 files changed, 18 insertions, 0 deletions
diff --git a/packages/network-suspend-scripts/files/usbnet b/packages/network-suspend-scripts/files/usbnet new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/network-suspend-scripts/files/usbnet diff --git a/packages/network-suspend-scripts/network-suspend-scripts.bb b/packages/network-suspend-scripts/network-suspend-scripts.bb index e69de29bb2..2d61788110 100644 --- a/packages/network-suspend-scripts/network-suspend-scripts.bb +++ b/packages/network-suspend-scripts/network-suspend-scripts.bb @@ -0,0 +1,18 @@ +LICENSE = "GPL" +SRC_URI = "file://ifupdown \ + file://usbnet" +FILES = "${sysconfdir}/apm" +PV = "1.1" + +do_install() { + install -d ${D}${sysconfdir}/apm/scripts.d + install -m 0755 ${WORKDIR}/ifupdown ${D}${sysconfdir}/apm/scripts.d + install -m 0755 ${WORKDIR}/usbnet ${D}${sysconfdir}/apm/scripts.d + install -d ${D}${sysconfdir}/apm/suspend.d + ln -s ../scripts.d/ifupdown ${D}${sysconfdir}/apm/suspend.d/05ifupdown + ln -s ../scripts.d/usbnet ${D}${sysconfdir}/apm/suspend.d/10usbnet + install -d ${D}${sysconfdir}/apm/resume.d + ln -sf ../scripts.d/ifupdown ${D}${sysconfdir}/apm/resume.d/30ifupdown + ln -sf ../scripts.d/usbnet ${D}${sysconfdir}/apm/resume.d/20usbnet +} + |