LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to make a command execute on it every reboot? (https://www.linuxquestions.org/questions/linux-software-2/how-to-make-a-command-execute-on-it-every-reboot-250875/)

peterguo 11-03-2004 10:24 PM

How to make a command execute on it every reboot?
 
How to make a command execute automatically on it's every rebooting under SuSe platform?

UsualTuxpect 11-03-2004 10:27 PM

Easiest way is to put it in /etc/rc.local file.

peterguo 11-03-2004 10:57 PM

Thanks for you reply, but in Suse there is no the file "rc.local", Do you know other ways to figure it out for suse?

daihard 11-04-2004 02:04 AM

Quote:

Originally posted by peterguo
Thanks for you reply, but in Suse there is no the file "rc.local", Do you know other ways to figure it out for suse?
Does SuSE have the directory named /etc/rc.d? Some platforms have /etc/rc.d/rc.local symlinked to /etc/rc.local.

Seagull 11-04-2004 03:28 AM

SuSE's rc.d links to init.d which contains the various init levels (rc0.d, rc1.d etc.)and all the scripts to be executed.

peterguo 11-04-2004 07:23 PM

Thanks for all help, I had found that simlar file like rc.local of the Suse platform, that is "boot.local" and loated in "/etc/rc.d/boot.local"


All times are GMT -5. The time now is 12:25 AM.