aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/base-files/files/etc/init.d/gpio_switch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/gpio_switch b/package/base-files/files/etc/init.d/gpio_switch
index b67950a992..32c142f110 100755
--- a/package/base-files/files/etc/init.d/gpio_switch
+++ b/package/base-files/files/etc/init.d/gpio_switch
@@ -24,7 +24,7 @@ load_gpio_switch()
[ -d "$gpio_path" ] || sleep 1
}
# set the pin to output with high or low pin value
- { [ "$value" = "0" ] && echo "high" || echo "low"; } >"$gpio_path/direction"
+ { [ "$value" = "0" ] && echo "low" || echo "high"; } >"$gpio_path/direction"
}
service_triggers()