summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-11-04 15:47:05 -0600
committerJesse Gilles <jgilles@multitech.com>2014-11-04 15:47:05 -0600
commita63619f94f742c920ccd11a912dc8ca106439755 (patch)
tree71e1f913797381643080d2f61e68c6a392b8ef21 /recipes-bsp
parent812befa503067ad2bae5de58962ff38321c369ca (diff)
downloadmeta-multitech-a63619f94f742c920ccd11a912dc8ca106439755.tar.gz
meta-multitech-a63619f94f742c920ccd11a912dc8ca106439755.tar.bz2
meta-multitech-a63619f94f742c920ccd11a912dc8ca106439755.zip
mts-io: rename led-a_heartbeat_trigger to led-status_hearbeat_trigger
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/multitech/mts-io.inc10
-rwxr-xr-xrecipes-bsp/multitech/mts-io/led-status_heartbeat_trigger (renamed from recipes-bsp/multitech/mts-io/led-a_heartbeat_trigger)2
2 files changed, 6 insertions, 6 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc
index 484124e..e4817b3 100644
--- a/recipes-bsp/multitech/mts-io.inc
+++ b/recipes-bsp/multitech/mts-io.inc
@@ -14,7 +14,7 @@ SRCREV = "v${PV}"
SRC_URI = " \
file://mts-io.init \
git://git.multitech.net/mts-io.git;protocol=git \
- file://led-a_heartbeat_trigger \
+ file://led-status_heartbeat_trigger \
"
S = "${WORKDIR}/git"
@@ -43,8 +43,8 @@ FILES_${PN} = "${base_libdir}/modules/${KERNEL_VERSION}/extra/mts_io.ko"
FILES_${PN} += "${sysconfdir}/init.d/mts-io"
FILES_${PN} += "${libdir}/mts-io-sysfs*"
FILES_${PN} += "${sbindir}/mts-io-sysfs"
-FILES_${PN} += "${sysconfdir}/init.d/led-a_heartbeat_trigger"
-FILES_${PN} += "${sysconfdir}/rc5.d/S99led-a_heartbeat_trigger"
+FILES_${PN} += "${sysconfdir}/init.d/led-status_heartbeat_trigger"
+FILES_${PN} += "${sysconfdir}/rc5.d/S99led-status_heartbeat_trigger"
INITSCRIPT_NAME = "mts-io"
INITSCRIPT_PARAMS = "start 39 S ."
@@ -66,8 +66,8 @@ fakeroot do_install () {
install -m 0755 ${WORKDIR}/mts-io.init ${D}${sysconfdir}/init.d/mts-io
install -d ${D}/${sysconfdir}/rc5.d
- install -m 0755 ${WORKDIR}/led-a_heartbeat_trigger ${D}/${sysconfdir}/init.d/
- ln -sf ${sysconfdir}/init.d/led-a_heartbeat_trigger ${D}/${sysconfdir}/rc5.d/S99led-a_heartbeat_trigger
+ install -m 0755 ${WORKDIR}/led-status_heartbeat_trigger ${D}/${sysconfdir}/init.d/
+ ln -sf ${sysconfdir}/init.d/led-status_heartbeat_trigger ${D}/${sysconfdir}/rc5.d/S99led-status_heartbeat_trigger
install -m 0755 -d ${D}${sbindir}
install -d ${D}${libdir}/mts-io-sysfs
diff --git a/recipes-bsp/multitech/mts-io/led-a_heartbeat_trigger b/recipes-bsp/multitech/mts-io/led-status_heartbeat_trigger
index 9633dcf..88910df 100755
--- a/recipes-bsp/multitech/mts-io/led-a_heartbeat_trigger
+++ b/recipes-bsp/multitech/mts-io/led-status_heartbeat_trigger
@@ -1,6 +1,6 @@
#!/bin/bash
-TRIGGER="/sys/class/leds/led-a/trigger"
+TRIGGER="/sys/class/leds/led-status/trigger"
echo "setting $TRIGGER to heartbeat"
echo "heartbeat" > $TRIGGER