* Unmount file systems.

svn path=/nixu/trunk/; revision=7084
This commit is contained in:
Eelco Dolstra 2006-11-20 21:19:34 +00:00
parent 49b2a218b5
commit 54f6e4fc71

View File

@ -15,8 +15,20 @@ script
echo \"<<< SYSTEM SHUTDOWN >>>\"
echo \"\"
# Do an initial sync just in case.
sync || true
# Unmount file systems.
umount -n -a || true
# Remount / read-only
mount -n -o remount,ro /dontcare / || true
# Final sync.
sync || true
# Right now all events above power off the system.
exec halt -f -p
exec halt -f
end script
";