On Thu, 08 Dec 2005 11:09:17 +0100, Lasse Madsen wrote:
> Hey
>
Please read
http://www.catb.org/~esr/faqs/smart-questions.html
Over 200+ linux distributions out there.
Always provide distribution, release, and if Mandriva/drake, RCn,
official, cooker, when posting questions.
It could help you get better answers.
> I have tried to figure out, where I should place a file, which should be
> executed when a network-interface come up
> I have tried /etc/network/if-up.d, but it didn't help
Are you sure. Create another script, say a_test, with the following
env > /tmp/a_test.env
exit 0
Then do a
chmod +x a_test
Now bounce the network connection.
On Redhat and Mandriva/drake the command is
service network restart
Now check if a_test ran with
cat /tmp/a_test.env
On Mandriva/drake directory is /etc/sysconfig/network-scripts/ifup.d/