I am using Ubuntu I want to update avast! automatically when I connect to the Internet (NOT at specific times or such).
I currently switch on and off between three diferent connections and three different applications:
ADSL - usbadslmodemmanager
3G - umtsmon
Wireless - network-manager (which does not detect the two other connections)
Hence, I need to know of some script or something that gets run everytime a connection is made, independently of what type and software... If there is such a script...
Then I could just slip in the /usr/bin/avast-update command.
Or... some other working sollution.
Any help would be appreciated.
P.s.: I'm running Ubuntu 8.04 Hardy Heron.