diff options
author | Matt Domsch <Matt_Domsch@dell.com> | 2010-12-17 09:54:29 -0600 |
---|---|---|
committer | Petr Lautrbach <plautrba@redhat.com> | 2011-01-14 15:24:42 +0100 |
commit | f1db9810c3fda50c887e33e83e80f767476dd446 (patch) | |
tree | 48851e081df70dc124cc31023b69c2e078b2152a /rc.d/init.d/network | |
parent | 59fdfdca21a4961e67a1bbd32092a110ffc747fc (diff) | |
download | initscripts-f1db9810c3fda50c887e33e83e80f767476dd446.tar initscripts-f1db9810c3fda50c887e33e83e80f767476dd446.tar.gz initscripts-f1db9810c3fda50c887e33e83e80f767476dd446.tar.bz2 initscripts-f1db9810c3fda50c887e33e83e80f767476dd446.tar.xz initscripts-f1db9810c3fda50c887e33e83e80f767476dd446.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 a159720f..558b98f7 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -43,7 +43,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 |