summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2005-01-28 16:46:09 +0000
committerPhil Blundell <philb@gnu.org>2005-01-28 16:46:09 +0000
commit5e4a6d8ae715b6dc7108e87eed505c785589fe79 (patch)
tree33c170fd0404f663bdc3223466d47156a2147a7e /packages
parenta49cba33094eab7435d9cce5a7f4b6f497e6e372 (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')
-rw-r--r--packages/ipaq-usbnet-support/files/suspend-usbnet0
-rw-r--r--packages/ipaq-usbnet-support/ipaq-usbnet-support_1.0.bb0
-rw-r--r--packages/network-suspend-scripts/files/usbnet (renamed from packages/ipaq-usbnet-support/files/resume-usbnet)0
-rw-r--r--packages/network-suspend-scripts/network-suspend-scripts.bb18
4 files changed, 18 insertions, 0 deletions
diff --git a/packages/ipaq-usbnet-support/files/suspend-usbnet b/packages/ipaq-usbnet-support/files/suspend-usbnet
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/ipaq-usbnet-support/files/suspend-usbnet
+++ /dev/null
diff --git a/packages/ipaq-usbnet-support/ipaq-usbnet-support_1.0.bb b/packages/ipaq-usbnet-support/ipaq-usbnet-support_1.0.bb
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/ipaq-usbnet-support/ipaq-usbnet-support_1.0.bb
+++ /dev/null
diff --git a/packages/ipaq-usbnet-support/files/resume-usbnet b/packages/network-suspend-scripts/files/usbnet
index e69de29bb2..e69de29bb2 100644
--- a/packages/ipaq-usbnet-support/files/resume-usbnet
+++ 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
+}
+