Script to run at startup - where to put ?

Discussion in 'HOWTO-Related Questions' started by contactme, Jan 11, 2007.

  1. contactme

    contactme New Member

    Hi,
    If I want to run a script at bootup time, where should I put that file or mention the path so that the script start runs everytime I reboot the system?

    I am having Debain system.
     
  2. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    The most obvious place for adding a personal startup command is inside the file
    Code:
    /etc/rc.local
     
  3. contactme

    contactme New Member

    Hi Guys,
    Finally figured this out.

    That script/configuration file is being run from /etc/rcS.d directory. and when I commented that line, my system came back with the correct IP :-D

    One problem resolved. though I'm still need to find out why that's there and how it's been used to setup VLANs.


    thanks guys :)
     

Share This Page