Re: adding scripts to /etc/init.d ?
On Thu, 18 Jul 2002 18:32:50 +0200
myster sen <myster-sen@gmx.net> wrote:
> hello gale...
>
> 2002-07-18/11h, when Gale Stafford wrote:
> > I want debian to start pump when it boots up, so that I dont have to manually type "pump -i eth0" every time I boot my computer. I read this morning that I need to add a script to /etc/init.d for pump. Also I understand that I would need to create a link from that script to a file in my /etc/rc3.d/ directory, since I boot into run level 3.
>
> the simplest version would be to create a file /etc/init.d/pump which
> contains the following
>
> #! /bin/sh
> /sbin/pump --interface=eth0
>
>
> then you should cd to /etc/rc3.d and create a link via:
> ln -s ../init.d/pump S99pump
Thank you!! I used your instructions, and I only had to tweak one thing to make it work. I had to change the file permissions on /etc/init.d/pump to match the permissions on the other files in /etc/init.d. (chmod 755 ...) That did it!
I'll say it again, for the second time today ... debian rules!
Gale Stafford
--
To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: