diff options
author | Matt Domsch <Matt_Domsch@dell.com> | 2010-12-17 09:54:29 -0600 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-12-17 15:05:02 -0500 |
commit | 9bb3586ebf88948508cbed28bba629021eeeb30a (patch) | |
tree | ba008f795706941b53731c93640c420e7315f679 /rc.d/init.d/network | |
parent | 3f3f9a5856fdadbe2190cc4b45aa4548959cae7e (diff) | |
download | initscripts-9bb3586ebf88948508cbed28bba629021eeeb30a.tar initscripts-9bb3586ebf88948508cbed28bba629021eeeb30a.tar.gz initscripts-9bb3586ebf88948508cbed28bba629021eeeb30a.tar.bz2 initscripts-9bb3586ebf88948508cbed28bba629021eeeb30a.tar.xz initscripts-9bb3586ebf88948508cbed28bba629021eeeb30a.zip |
add # as a valid character in network device names
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-x | rc.d/init.d/network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 482bb7be..b31060b0 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -46,7 +46,7 @@ cd /etc/sysconfig/network-scripts interfaces=$(ls ifcfg* | \ LANG=C sed -e "$__sed_discard_ignored_files" \ -e '/\(ifcfg-lo$\|:\|ifcfg-.*-range\)/d' \ - -e '/ifcfg-[A-Za-z0-9\._-]\+$/ { s/^ifcfg-//g;s/[0-9]/ &/}' | \ + -e '/ifcfg-[A-Za-z0-9#\._-]\+$/ { s/^ifcfg-//g;s/[0-9]/ &/}' | \ LANG=C sort -k 1,1 -k 2n | \ LANG=C sed 's/ //') rc=0 |