91a5fe9eb0
device should be enabled on the host in order for the UML machine to be able to talk to the Internet. svn path=/nixu/trunk/; revision=806
13 lines
239 B
Bash
13 lines
239 B
Bash
#! @bash@/bin/sh -e
|
|
|
|
. @out@/bin/env.sh
|
|
|
|
echo "remounting / read-only..."
|
|
mount -n -o remount,rw /dev/root / || echo "(failed)" # ignore errors
|
|
|
|
echo "syncing..."
|
|
sync || echo "(failed)" # ignore errors
|
|
|
|
echo "shutting down..."
|
|
halt -d -f
|