How can I set scripts to run at startup? openSuSE 10.1 x86
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I guess that would work, but I wanted something that runs regardless of whether I run a GUI or not.
I set this up on Ubuntu once, but I forget the location of the script. Basically, it ran my script before it ever started X.
This way, even if X doesn't work for some reason, my script still gets run (the script sends my IP to a webserver so I can check the webserver from work to know where to point my SSH client when I wanna use my home computer from work).
Sorry for the confusion. I don't have suse installed anywhere, but have you searched your /etc directory for rc.local? All your init scripts are located somewhere in /etc on all *nix systems I'm familiar with and rc.local is designated as the last init script to run on any system that has an rc.local. If suse doesn't have an rc.local, which may very well be the case, you can edit some existing init script to run your scripts at boot but you would want to make sure you do it late in the boot process. For that you would have to be pretty familiar with suse's init process. Alternatively, here's an article on creating your own init script in suse: