Cross Reference: hal-system-power-reboot-sunos.sh
xref
: /
osnet-11
/
usr
/
src
/
cmd
/
hal
/
tools
/
sunos
/
hal-system-power-reboot-sunos.sh
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
hal-system-power-reboot-sunos.sh revision 1
#!/
bin
/
sh
#
#
hal-system-power-reboot-sunos.sh
#
# Licensed under the Academic Free License version 2.1
#
unsupported
()
{
echo
"
org.freedesktop.Hal.Device.SystemPowerManagement.NotSupported
"
>&
2
echo
"No reboot command found"
>&
2
exit
1
}
if
[ -x
"/
usr
/
sbin
/
init
"
] ;
then
/
usr
/
sbin
/
init
6
exit
$?
else
unsupported
fi