Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th January 2007, 21:09
contactme contactme is offline
Junior Member
 
Join Date: Jan 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Script to run at startup - where to put ?

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.
Reply With Quote
Sponsored Links
  #2  
Old 11th January 2007, 21:20
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

The most obvious place for adding a personal startup command is inside the file
Code:
/etc/rc.local
Reply With Quote
  #3  
Old 11th January 2007, 21:48
contactme contactme is offline
Junior Member
 
Join Date: Jan 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 20:38
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29
Startup script? Dimitriy Installation/Configuration 1 26th June 2006 13:07
Executing ICON script lawson Programming/Scripts 3 28th December 2005 21:51
Uninstalld Now Cant run older php script abselect Installation/Configuration 1 18th October 2005 10:23


All times are GMT +2. The time now is 11:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.