Startup Script Doesn't Work.
Hi Guys,
I have the following script on my Kubuntu 5.10 box: Code:
sudo iwconfig eth1 enc <munged> essid driveon However, using the same script in the startup rc* directories fails. To put it in the start up scripts I copied the script into /etc/init.d and ran update-rc.d eth1 defaults (the script is called eth1). I've also tried it without the 'sudo' bits of each line. Any ideas why it works when run manually, but not as a startup script? Thanks! |
You should give the full path for the commands you're using, i.e:
Code:
/usr/bin/sudo /sbinifconfig eth1 up |
Quote:
Thanks, bathory. I've been banging my head against the wall for hours. I'll give this a whirl when I get back to my box. Thanks! |
All times are GMT -5. The time now is 04:58 PM. |