Place the script in init.d and create a symbolic link in rc3.d with the link name starting with Kxxwhatever. Where xx = number 00 to 99. You can also do "init 6" for the reboot...
Regards Christo Pretorius Global Betting Exchange 4th Floor IFSC House Customs House Quay Dublin 1 Ireland Mobile: +353 (0)86 174 4161 Office: +353 (0)1 611 7685 -----Original Message----- From: John Dunn [mailto:[EMAIL PROTECTED] Sent: 12 July 2005 09:05 To: 'Solaris-Users mailing list' Subject: [Solaris-Users] shutdown and run levels I am trying to test a shutdown script for my application. I have placed a script in /etc/init.d and linked in rc0.d, but it does not appear to be executed. The startup in rc3.d works, but not the shutdown. I am testing by doing shutdown -y 5, then doing a control-d and specifying runlevel 3. Will this go through runlevel 0 ? John Dunn Product Consultant Sefas Innovation Limited Direct Dial +44 (0) 117 373 6122 www.sefas.com PLEASE NOTE SEFAS INNOVATION HAVE MOVED TO: Sefas Innovation Ltd, CityPoint, Temple Gate, Bristol BS1 6PL, UK. Tel: +44(0) 117 373 6114 Fax: +44 (0) 117 373 6115 NEW DIRECT DIAL: +44 (0) 117 373 6122 _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
