[Bug 1128403] Re: Passing the network device as argument to the scripts

2013-02-28 Thread Stéphane Graber
Indeed. It's IFACE. Marking as invalid again. ** Changed in: ifupdown (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1128403 Title: Passing the network device

[Bug 1128403] Re: Passing the network device as argument to the scripts

2013-02-28 Thread Andrew Shadura
It should be IFACE if I remember correctly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1128403 Title: Passing the network device as argument to the scripts To manage notifications about this bug

[Bug 1128403] Re: Passing the network device as argument to the scripts

2013-02-17 Thread Sworddragon
I have tested this and created the script /etc/network/if-pre-up.d/test with the content: #!/bin/bash echo "$INTERFACE" >> /tmp/test.log 2>&1 After a reboot /tmp/test.log has just contained 3 empty lines. The variable $INTERFACE was not know at this point for the script. ** Changed in: ifupdo

[Bug 1128403] Re: Passing the network device as argument to the scripts

2013-02-17 Thread Stéphane Graber
Look for $INTERFACE in the environment, that's where we pass the network device name. ** Changed in: ifupdown (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/11284