summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2013-12-17 13:33:45 -0600
committerJesse Gilles <jgilles@multitech.com>2013-12-17 13:33:45 -0600
commitbaf0d32bdbc9c4cc5a2daf34fff4638e6dc705ae (patch)
tree31e7145bf7326e7ed3e8e0ccb8ec12980db7ce53
parent9b997f49a9ded4b0afbc3b705d936bbfa2bac2c6 (diff)
downloadmts-io-baf0d32bdbc9c4cc5a2daf34fff4638e6dc705ae.tar.gz
mts-io-baf0d32bdbc9c4cc5a2daf34fff4638e6dc705ae.tar.bz2
mts-io-baf0d32bdbc9c4cc5a2daf34fff4638e6dc705ae.zip
mts-io-sysfs: fix store-trigger
-rw-r--r--io-tool/mts-io-sysfs-inc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/io-tool/mts-io-sysfs-inc.sh b/io-tool/mts-io-sysfs-inc.sh
index af94a7a..cec9943 100644
--- a/io-tool/mts-io-sysfs-inc.sh
+++ b/io-tool/mts-io-sysfs-inc.sh
@@ -75,7 +75,7 @@ store_trigger() {
local value=${2}
log_info "setting ${name} to '${value}'"
- echo -n "${value}" > cat ${LEDS_GPIO_DIR}/${name}/trigger
+ echo -n "${value}" > ${LEDS_GPIO_DIR}/${name}/trigger
}
show_trigger() {