blob: e26bca36d45f30e4e43ee6b67fe4df02939513a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
#Try for common tools
if [ -x "/sbin/shutdown" ] ; then
/sbin/shutdown -h now
exit $?
elif [ -x "/usr/sbin/shutdown" ] ; then
/usr/sbin/shutdown -h now
exit $?
else
exit 1
fi
|