Re: Script execution at boot time..
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 won't execute the script. If I do the same by hand it
> works. I aso tried placing the link in /etc/rc2.d bu had no luck.
Perhaps you forgot to make the script executable?
Much simpler just to add a link in rc2.d for ssh, though; you could even
use 'dpkg-reconfigure ssh'.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: