[Bug 1128403] Re: Passing the network device as argument to the scripts
Sworddragon
1128403 at bugs.launchpad.net
Mon Feb 18 00:00:47 UTC 2013
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: ifupdown (Ubuntu)
Status: Invalid => New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1128403
Title:
Passing the network device as argument to the scripts
Status in “ifupdown” package in Ubuntu:
New
Bug description:
I'm using Ubuntu 13.04 dev with ifupdown 0.7.5ubuntu2. Because of this
ticket
(https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1126560) I
had the idea that it would be useful if ifupdown passes the related
network device as argument to the scripts in /etc/network/*. This
would it make easier to debug problems and the scripts could maybe
profit from the information for which network device they are running.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1128403/+subscriptions
More information about the foundations-bugs
mailing list