From 3786debc7c62597ee0b39cdcb3a08b4d304cc2d4 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 28 Mar 2013 16:47:01 -0700 Subject: 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) --- scripts/vyatta_net_name | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/vyatta_net_name') 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 -- cgit v1.2.3