LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-11-2004, 06:35 AM   #1
extremebfn
Member
 
Registered: Jun 2004
Location: bloem
Distribution: asdsa
Posts: 43

Rep: Reputation: 15
AutoStart a Script


HI. I have a script which i would like to be automaticly loaded when my Slackware 10 boots up. The script basicly just initialise my eth0 and eth1 settips, like IP's and default routes ect.

In what folder must the script be and must i edit something?

I already placed is inside /etc/rc.d/ but is still does not load.

Thanks in advanced!
 
Old 09-11-2004, 06:37 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
You could add the commands you want in /etc/rc.d/rc.local or add a line to call your script there, or simply name your file /etc/rc.d/rc.firewall and set it to executable (chmod +x) because if that file exists and can be executed it's automatically called with that popuse.
 
Old 09-11-2004, 09:25 PM   #3
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Re: AutoStart a Script

Quote:
Originally posted by extremebfn
HI. I have a script which i would like to be automaticly loaded when my Slackware 10 boots up. The script basicly just initialise my eth0 and eth1 settips, like IP's and default routes ect.
those things are usually configured in the /etc/rc.d/rc.inet1.conf file, not from a personal script...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell script adding autostart gnome script Coolrunr Programming 3 01-01-2009 02:23 PM
Setting up an autostart script ryan0204 Red Hat 2 07-12-2005 02:49 AM
how to add a sh-script to the autostart JohnWayne Linux - General 1 09-18-2004 09:09 AM
Waimea Autostart script?? simbolo Linux - Software 7 02-12-2003 02:50 PM
How to autostart a script on booting f_mooraby Linux - Newbie 3 10-20-2002 04:16 AM


All times are GMT -5. The time now is 12:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration