Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ez ipupdate running on boot 1

Status
Not open for further replies.

aftertaf

IS-IT--Management
May 27, 2004
3,320
EU
Hi all, i've googled around but i can't find anything relevant...

I've got my ADSL connecting on boot, and i've got a working ezipupdate .conf file in /etc....

How do i get it to run once the net is up?

Debian sid, speedtouch adsl...

I have a couple of vague ideas, but i don't know enough about linux & startup to know what i really should do.

it's a script i need, and what i'd put in is the actual command
Code:
ez-ipupdate -d -c /etc/ez-ip.conf

but is this enough? and what do i need to do to make it run automatically???

cheers..

Aftertaf

"Solutions are not the answer." - Richard Nixon
 
[tt]vi /etc/init.d/ez-update.sh
********

#!/bin/bash
ez-ipupdate -d -c /etc/ez-ip.conf

*********

chmod +x /etc/inid.d/ez-update.sh
ln -s /etc/inid.d/ez-update.sh /etc/rc3.d/S99ez-update.sh
[/tt]

Cheers.
 
i KNEW it'd be something 'simple' like that.
thanks :)

Aftertaf

"Solutions are not the answer." - Richard Nixon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top