summaryrefslogtreecommitdiff
path: root/scripts/vyatta_net_name
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-03-28 16:47:01 -0700
committerJames Davidson <james.davidson@vyatta.com>2013-04-02 08:50:48 -0700
commit3786debc7c62597ee0b39cdcb3a08b4d304cc2d4 (patch)
tree002317ed172d221b538856a82a56817da3372f27 /scripts/vyatta_net_name
parent1f90d46cbc889d45dbfd5e499ad24a399b059d3b (diff)
downloadvyatta-cfg-system-3786debc7c62597ee0b39cdcb3a08b4d304cc2d4.tar.gz
vyatta-cfg-system-3786debc7c62597ee0b39cdcb3a08b4d304cc2d4.zip
fix device naming on boot
Bug 8804 Previous change was passing a logfile to biosdevname, but parent directory was not necessarily created at that point! Log file is useless anyway, just redirect to dev null. (cherry picked from commit dcabba83be38ee6f79ab5a347f0cb3cce5a9eca8)
Diffstat (limited to 'scripts/vyatta_net_name')
-rwxr-xr-xscripts/vyatta_net_name2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta_net_name b/scripts/vyatta_net_name
index 3df23adf..90dd8615 100755
--- a/scripts/vyatta_net_name
+++ b/scripts/vyatta_net_name
@@ -93,7 +93,7 @@ sub biosdevname {
# may generate incorrect name.
sleep 1;
- my $biosname = `/sbin/biosdevname --policy all_ethN -i $ifname 2>>$UDEVLOG/biosdevname`;
+ my $biosname = `/sbin/biosdevname --policy all_ethN -i $ifname 2>/dev/null`;
chomp $biosname;
# if biosdevname has no answer it outputs a nothing