aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorMatt Domsch <Matt_Domsch@dell.com>2010-12-17 09:54:29 -0600
committerBill Nottingham <notting@redhat.com>2010-12-17 15:05:02 -0500
commit9bb3586ebf88948508cbed28bba629021eeeb30a (patch)
treeba008f795706941b53731c93640c420e7315f679 /rc.d
parent3f3f9a5856fdadbe2190cc4b45aa4548959cae7e (diff)
downloadinitscripts-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')
-rwxr-xr-xrc.d/init.d/network2
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