How can I set scripts to run at startup? openSuSE 10.1 x86
Suse/NovellThis 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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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: