aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-04-27 12:05:30 +0200
committerHarald Hoyer <harald@redhat.com>2011-04-27 12:05:30 +0200
commitabd961c2f4f92d8284fce9ee44555c94f4dbbfd0 (patch)
treefa3b2996a40ba492ef6f74395a7a23690c47bb56
parentd013a54f2810c99ae7a2957d84f82192b0f3b057 (diff)
downloadinitscripts-abd961c2f4f92d8284fce9ee44555c94f4dbbfd0.tar
initscripts-abd961c2f4f92d8284fce9ee44555c94f4dbbfd0.tar.gz
initscripts-abd961c2f4f92d8284fce9ee44555c94f4dbbfd0.tar.bz2
initscripts-abd961c2f4f92d8284fce9ee44555c94f4dbbfd0.tar.xz
initscripts-abd961c2f4f92d8284fce9ee44555c94f4dbbfd0.zip
rc.d/init.d/network: fixed sed patch for '#' in interface names
-rwxr-xr-xrc.d/init.d/network2
1 files changed, 0 insertions, 2 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index e8c94409..198d8e03 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -45,8 +45,6 @@ cd /etc/sysconfig/network-scripts
# ignore aliases, alternative configurations, and editor backup files
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-lo$\|:\|ifcfg-.*-range\)/d' \
-e '/ifcfg-[A-Za-z0-9#\._-]\+$/ { s/^ifcfg-//g;s/[0-9]/ &/}' | \
LANG=C sort -k 1,1 -k 2n | \