repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pci: don't do sanity check for missing pci bus, the check can misfire.
[minix.git]
/
commands
/
scripts
/
poweroff.sh
blob
92c563fba23c6764e976531e4c216f783265fe27
1
#!/bin/sh
2
#
3
# poweroff 1.0 - power off the system Author: David van Moolenbroek
4
# 12 Jun 2009
5
6
if
[
$#
-gt
0
];
then
7
echo
"usage: poweroff"
>&
2
8
exit
1
9
fi
10
11
PATH
=/
usr
/
bin
:
$PATH
12
13
exec
shutdown
-x
off