Minor fixes
This commit is contained in:
@@ -81,6 +81,7 @@ if [ ! -z $CARD_READER ]; then
|
|||||||
# Turn off the ACT LED to indicate that the backup is completed
|
# Turn off the ACT LED to indicate that the backup is completed
|
||||||
sudo sh -c "echo 0 > /sys/class/leds/led0/brightness"
|
sudo sh -c "echo 0 > /sys/class/leds/led0/brightness"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Shutdown
|
# Shutdown
|
||||||
sync
|
sync
|
||||||
shutdown -h now
|
shutdown -h now
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ sudo sh -c "echo 1000 > /sys/class/leds/led0/delay_on"
|
|||||||
|
|
||||||
# Turn off the ACT LED to indicate that the backup is completed
|
# Turn off the ACT LED to indicate that the backup is completed
|
||||||
sudo sh -c "echo 0 > /sys/class/leds/led0/brightness"
|
sudo sh -c "echo 0 > /sys/class/leds/led0/brightness"
|
||||||
fi
|
|
||||||
# Shutdown
|
# Shutdown
|
||||||
sync
|
sync
|
||||||
shutdown -h now
|
shutdown -h now
|
||||||
|
|||||||
Reference in New Issue
Block a user