LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   bootup script? (https://www.linuxquestions.org/questions/debian-26/bootup-script-213470/)

andymadigan 08-04-2004 04:43 PM

bootup script?
 
Is there a script that gets run at every bootup, if there are several, please list them all. I use sid + gdm + gnome, but I run XDMCP, so a script that starts up with gdm might get run several times. I want to add calls to start a vnc server, and that command shouldn't be run more than once.

m_yates 08-04-2004 04:59 PM

I haven't used this myself but here is a guide:

http://www.desktop-linux.net/debian-rclocal.htm

The above is a guide for creating a script to be run on a Debian machine that is the equivalent of rc.local that you might have on Slackware, or other distribution.

HappyTux 08-04-2004 05:32 PM

Re: bootup script?
 
Quote:

Originally posted by andymadigan
Is there a script that gets run at every bootup, if there are several, please list them all. I use sid + gdm + gnome, but I run XDMCP, so a script that starts up with gdm might get run several times. I want to add calls to start a vnc server, and that command shouldn't be run more than once.
You can put them in /etc/init.d/bootmisc.sh that is just about the last thing that runs during boot.


All times are GMT -5. The time now is 01:03 PM.