Hello, Is there an easy way to execute a program on boot up besides /sbin/boot.local. I need for the program to start after the serial ports are initialized either just before or preferably just after going intto runlevel 2. Also, I don't want the program restarted during the shutdown sequence. Any pointers, or suggestions of docs or how-to's would be greatly appreciated. Thanks, Mike -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Michael Mayo wrote:
Hello,
Is there an easy way to execute a program on boot up besides /sbin/boot.local. I need for the program to start after the serial ports are initialized either just before or preferably just after going intto runlevel 2. Also, I don't want the program restarted during the shutdown sequence. Any pointers, or suggestions of docs or how-to's would be greatly appreciated.
Create a start link /snin/init.d/SNNname, e.g. S00foo or S01bar. Choose the the name to make it alphanumerically where you want it to be executed on startup. To prevent execution on shutdown simply do _not_ create the corresponding kill link. Have a look at /sbin/init.d. Then you'll see what is meant. Henning -- H. Henning Vossieck http://hhv.de [currently inactive] SuSE Linux 6.4 Kernel 2.4.0-test4-279 glibc 2.1.3 gcc 2.95.2 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Hi, Thanks for pointers everyone. I've still got some bugs but they're on my end. At least it starts and stops on boot reboot now. Thanks again, Mike On Fri, 14 Jul 2000, Henning wrote:
Michael Mayo wrote:
Hello,
Is there an easy way to execute a program on boot up besides /sbin/boot.local. I need for the program to start after the serial ports are initialized either just before or preferably just after going intto runlevel 2. Also, I don't want the program restarted during the shutdown sequence. Any pointers, or suggestions of docs or how-to's would be greatly appreciated.
Create a start link /snin/init.d/SNNname, e.g. S00foo or S01bar. Choose the the name to make it alphanumerically where you want it to be executed on startup. To prevent execution on shutdown simply do _not_ create the corresponding kill link. Have a look at /sbin/init.d. Then you'll see what is meant.
Henning -- H. Henning Vossieck http://hhv.de [currently inactive] SuSE Linux 6.4 Kernel 2.4.0-test4-279 glibc 2.1.3 gcc 2.95.2
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Put a script in /sbin/init.d that executes the stuff. Link it to /sbin/init.d/rc2.d and call it something like S02whatever. It is important that the fourth character comes after s (as in S02serial) so that it executes after S02serial if that's what you want. Hope this helps Anders
>>>>>>>>>>>> Ursprungligt meddelande <<<<<<<<<<<<<<<<<<
Michael Mayo
Hello,
Is there an easy way to execute a program on boot up besides /sbin/boot.local. I need for the program to start after the serial ports are initialized either just before or preferably just after going intto runlevel 2. Also, I don't want the program restarted during the shutdown sequence. Any pointers, or suggestions of docs or how-to's would be greatly appreciated.
Thanks,
Mike
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (3)
-
dahlqvist@sundsvall.mail.telia.com
-
hhv@hhv.de
-
mlmayo@texas.net