minix/commands/poweroff/poweroff.sh

14 lines
211 B
Bash
Raw Normal View History

2009-06-12 15:02:51 +02:00
#!/bin/sh
#
# poweroff 1.0 - power off the system Author: David van Moolenbroek
# 12 Jun 2009
if [ $# -gt 0 ]; then
echo "usage: poweroff" >&2
exit 1
fi
PATH=/usr/bin:$PATH
2009-06-12 15:17:33 +02:00
exec shutdown -x off