1830520 Members
2871 Online
110006 Solutions
New Discussion

SHUTDOWN -ry

 
Musa I. S.
Frequent Advisor

SHUTDOWN -ry

hello,

i issued a shutdown -ry command and it asked me to select one reason for the shutdown. it brought out about 15 options for me to choose from. It does not do that before.
5 REPLIES 5
Mark McDonald_2
Trusted Contributor

Re: SHUTDOWN -ry

Are you on your own box or has a previous SA wrote a wrapper script for shutdown?
Deepak Kr
Respected Contributor

Re: SHUTDOWN -ry

Hi,

Try

#cd /
#shutdown -ry 0

what you get when type:

whereis shutdown or which shutdown

If somebody customized the shutdown/reboot in your setup then you will get options depending on what is defined n script.


Regds......DK
"There is always some scope for improvement"
Musa I. S.
Frequent Advisor

Re: SHUTDOWN -ry

I guess a script was customised for shutdown. How do i do that for the other servers?
Mark McDonald_2
Trusted Contributor

Re: SHUTDOWN -ry

Like Kumar said - "which shutdown" should show you the location of the edited script.

Copy this to the other servers.
Deepak Kr
Respected Contributor

Re: SHUTDOWN -ry

Yes,

You can copy the same script to other servers at same location.

Do Follwoing:

## Rename the default shutdown file
## make a ftp /sftp to get the required file here.

Regds...DK
"There is always some scope for improvement"