mirror of https://github.com/CIRCL/Circlean
Umount the 2 USB keys before shudown, fix #16.
Make sure the music/LED are still there as long as possible. When the USB keys are umounted, the system is totally static and could be plugged off.pull/10/head
parent
4ae5fff4c9
commit
1259176907
|
@ -24,6 +24,8 @@ if [ -e /dev/sda ]; then
|
|||
# avoid possibe misuse
|
||||
/sbin/ifconfig eth0 down
|
||||
./init.sh
|
||||
umount -r /dev/sda
|
||||
umount -r /dev/sdb
|
||||
/sbin/shutdown -h now
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue