23 Oct
2004
23 Oct
'04
16:54
On Saturday 23 October 2004 15:40, Johnny Ernst Nielsen wrote:
Good day,
SUSE 9.0
Is there a place where I can put a script to be executed whenever any interface connects to the internet?
Like /etc/ppp/ip-up.d/ is the place for ppp0 connections, only somewhere that works for both eth0 and ppp0 (and possibly for other interfaces).
I have tried fumbeling with /etc/sysconfig/network/if-up.d/, but that does not work for ppp0 I have tried making /etc/sysconfig/network/ip-up.d/ (not iF-up) and putting a script there, but then nothing happens for any interface.
The scripts need to be executable: chmod +x some_script Cheers, Leen