This commit is contained in:
Martin Ness 2015-10-07 01:43:54 +02:00
parent 096bb37f05
commit 573e1ec66f

View file

@ -10,7 +10,7 @@ fi
while true; do
if [ -c "$DEV" ]; then
read state < "$DEV"
read -r state < "$DEV"
case "$state" in
ON|HALF|OFF)
run-parts --arg="$state" "$DIR"