diff options
-rw-r--r-- | recipes-bsp/multitech/mts-io.inc | 10 | ||||
-rwxr-xr-x | recipes-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 |