Script execution at boot time..
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.
Any help will be appreciated.
-ishwar
On Fri, 14 May 2004, Ishwar Rattan wrote:
>
> How does one start local services? I run ssh daemon after boot using
>
> #/etc/init.d/ssh start
>
> is there way to execute a /etc/rc.local file as the last step in boot
> process?
>
> Any ideas?
>
> -ishwar
>
>
Reply to: