[OpenIndiana-discuss] reboot/shutdown commands (Was: Re: OI boot problem)

Kevin J. Woolley kjw at javabunny.net
Mon Mar 28 15:50:38 UTC 2011

On 28 March 2011 08:48, Jonathan Adams <t12nslookup at gmail.com> wrote:

> feel free to create these script and store them in a folder called
> "/usr/myreboots" you can then add this to your path:
> reboot:
> #!/sbin/sh
> init 6
> shutdown:
> #!/sbin/sh
> init 5
> thankyou.

Please feel free to use this shell script to "fix" your new releases:

rm -f /usr/gnu/bin/reboot /usr/gnu/bin/shutdown

Or simply leave /usr/gnu/bin out of your path.



More information about the OpenIndiana-discuss mailing list