2004-02-16 10:41:00 +01:00
|
|
|
#! @bash@/bin/sh -e
|
|
|
|
|
2004-02-19 13:49:00 +01:00
|
|
|
. @out@/bin/env.sh
|
2004-02-16 10:41:00 +01:00
|
|
|
|
2004-07-16 17:41:47 +02:00
|
|
|
echo "unmount file systems..."
|
|
|
|
umount -avt noproc,nonfs,nosmbfs,nodevfs || echo "(failed)" # ignore errors
|
2004-02-18 11:56:07 +01:00
|
|
|
|
|
|
|
echo "syncing..."
|
|
|
|
sync || echo "(failed)" # ignore errors
|
|
|
|
|
2004-02-16 10:41:00 +01:00
|
|
|
echo "shutting down..."
|
2004-02-18 11:56:07 +01:00
|
|
|
halt -d -f
|