Consolekit: sync & unmountall before reboot / shutdown

This commit is contained in:
Stefan Saraev 2013-01-17 09:59:45 +00:00
parent f5d4937ada
commit f79168770f
2 changed files with 4 additions and 0 deletions

View File

@ -31,4 +31,6 @@ for seq in `seq 1 10` ; do
clear > /dev/tty1
killall5 -18 || break
done
sync
umount -a >/dev/null 2>&1
reboot

View File

@ -31,4 +31,6 @@ for seq in `seq 1 10` ; do
clear > /dev/tty1
killall5 -18 || break
done
sync
umount -a >/dev/null 2>&1
poweroff