diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/ipaq-usbnet-support/files/suspend-usbnet | 0 | ||||
-rw-r--r-- | packages/ipaq-usbnet-support/ipaq-usbnet-support_1.0.bb | 0 | ||||
-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.bb | 18 |
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 +} + |