upstart and events
Oliver Grawert
ogra at ubuntu.com
Fri Jun 4 10:24:19 UTC 2010
hi,
Am Freitag, den 04.06.2010, 12:15 +0200 schrieb Leander Jedamus:
> Hi!
>
> I have some questions. I want to do the "sudo apt-get update" stuff
> automatically, when my network is coming up (either wlan0 or eth0). How
> can I do this? Where can I read more about it? Is that a good idea?
>
have a look at
/etc/network/if-up.d/ntpdate
and/or
/etc/network/if-up.d/openssh-server
such scripts are automatically executed once an interface is brought up
through NetworkManager or by an entry in /etc/network/interfaces
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100604/b969ade1/attachment.sig>
More information about the ubuntu-users
mailing list