From baf0d32bdbc9c4cc5a2daf34fff4638e6dc705ae Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Tue, 17 Dec 2013 13:33:45 -0600 Subject: mts-io-sysfs: fix store-trigger --- io-tool/mts-io-sysfs-inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.2.3