LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-06-2004, 03:56 AM   #1
theMonkeY
Member
 
Registered: Jun 2004
Posts: 58

Rep: Reputation: 15
where do i shove sumthing which i want to be run everytime i boot?


Hi,

My ISP is bigpond and it requires a program called 'bpalogin' to be running in the background in order to access the internet. Its no biggie, but the problem is i cannot access the net until i su and run bpalogin.

How can i get linux to automatically do this on startup? i hear the initialisation files are different on slack.

thanks
 
Old 09-06-2004, 04:30 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
put a line to run it on /etc/rc.d/rc.local that file is exactly whlat you want.
 
Old 09-06-2004, 02:49 PM   #3
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
or, since it's a network-related item, I would say, add it to /etc/rc.d/rc.inet2
(Make sure it's executable)

DO a "which bpalogin"

Something like this should work

# Running bpalogin - Client for Bigpond
if [ -x [full_path_to bpalogin]/bpalogin ]; then
[full_path_to bpalogin]/bpalogin
fi
 
  


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
why input key everytime when run quake4 in linux? u2911 Linux - Games 3 11-27-2005 03:48 PM
Making some commands run everytime I start Linux (Slack 9.1) Agna Linux - Newbie 7 08-26-2005 09:38 PM
Need to run alsaconf everytime i boot up! RaVilj Red Hat 3 06-13-2004 05:23 PM
How do I get fortune to run everytime I start an xshell dtheorem Linux - Software 3 05-19-2004 12:22 PM
Must run /sbin/ifup eth1 everytime I boot Reo5th Linux - Networking 2 02-27-2004 10:29 AM


All times are GMT -5. The time now is 05:54 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