#!/bin/sh
exec 2>&1
einfo() { [ "${VERBOSE:-}" = no ] || echo "$@"; }
NETDOWN=yes
[ -f /etc/default/halt ] && . /etc/default/halt
. /lib/init/vars.sh 2>/dev/null || true
netdown="-i"
[ "$NETDOWN" = "no" ] && netdown=""
einfo "Will now reboot"
if [ -x /sbin/reboot ]; then
	/sbin/reboot -d -f $netdown || true
fi
exit 0
