automating a script with dhcp address changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I wanted to run a few tasks each time the IP address on my PC changed. The
PC connects to the network using DHCP and runs ubuntu (LTS, 2.6.15-26). 

I noticed that there was a directory called /etc/network/if-up.d that had
a couple of scripts in them. I was wondering if I could just leave my
script in that directory and expect it to get executed everytime DHCP
changes the machines IP?


Thanks,

-K


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux