Re: Script execution at boot time..

2004-05-17 Thread Carlos Hanson
On Fri, 14 May 2004 20:52:19 -0400 (EDT) Ishwar Rattan <[EMAIL PROTECTED]> wrote: > I understand that there is documentation. I have looked at it > but have not had success. If you can help, please do so. > > -ishwar > Here are the startup script basics: There are different run levels for runn

Re: Script execution at boot time..

2004-05-15 Thread Colin Watson
On Fri, May 14, 2004 at 04:26:48PM -0400, Ishwar Rattan wrote: > I have written a shell script /etc/init.d/rclocal > with two lines.. > > /etc/init.d/ssh start > /home/mine/iptablerules > > and created a link in /etc/rc3.d > > S99rclocal link to ../init.d/rclocal > > and reboot

Re: Script execution at boot time..

2004-05-14 Thread dircha
Ishwar Rattan wrote: I understand that there is documentation. I have looked at it but have not had success. If you can help, please do so. # vi /etc/init.d/rclocal #!/bin/sh /etc/init.d/ssh start /home/mine/iptablerules Make it executable: # chmod ug+x /etc/init.d/rclocal Symlink the script to run

Re: Script execution at boot time..

2004-05-14 Thread Ishwar Rattan
I understand that there is documentation. I have looked at it but have not had success. If you can help, please do so. -ishwar On Fri, 14 May 2004, Carlos Hanson wrote: > Rather than repeating existing documentation, I must again provide a > link to the documention: > > http://www.debian.org/doc

Re: Script execution at boot time..

2004-05-14 Thread Carlos Hanson
Rather than repeating existing documentation, I must again provide a link to the documention: http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit On Fri, 14 May 2004 16:26:48 -0400 (EDT) Ishwar Rattan <[EMAIL PROTECTED]> wrote: > > I have written a shell script /etc/init.d/rcloc

Script execution at boot time..

2004-05-14 Thread Ishwar Rattan
I have written a shell script /etc/init.d/rclocal with two lines.. /etc/init.d/ssh start /home/mine/iptablerules and created a link in /etc/rc3.d S99rclocal link to ../init.d/rclocal and reboot won't execute the script. If I do the same by hand it works. I aso tried placing