Executing A Command At Startup?


A_SN

Active Member
Joined
Jun 8, 2006
Messages
899
There it is, I got this command I want to run at every start so the network works correctly :

route add default gw 192.168.0.1 usb0

only problem is, I have no idea how to do this. Tried an autorun.gpu, tried inserting it in some files located in /etc/rc.d/, but nothing did it so far. What's the way to do it?
 
Add it to your crontab and enable crond. That's more battery consumption though. You could try adding it with rc-update if GPLinux has that.
 
Back
Top