Re: Automated On/Offline during Machine reboot/shutdown, how?
Posted in 1993
In <CIrEBE.Gqr@Colorado.EDU> huangp@nots.Colorado.EDU (Pei-yu Huang) writes: | I wrote the following script and saved it in /etc/init.d/informix: | and had /etc/rc0.d/K01informix and /etc/rc2.d/S99informix linked to it. | The "stop" switch appeared to work, for I got a new "shutdown..." message | and timestamp each time I shut down the machine. But the "start" switch | wouldn't work, and I cannot even get the "file...not found" message. It | probably doesn't matter but I even created a file /var/config/informix | with "on" as its content. No luck. Any pionters are much appreciated. I'll bet your system never completely reached multi-user state either. Does a ps -ef show rc2 still running, and/or an rc2.d script? You can also put some echo's in /etc/rc2 to see what it is executing. -- The most beautiful things in the world are | Dave Olson those from which all excess weight has been | Silicon Graphics removed. -Henry Ford | olson@sgi.com