aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.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 7ef76e96..751005c3 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -39,7 +39,7 @@ interfaces=`ls ifcfg* | egrep -v '(ifcfg-lo|:)' | egrep 'ifcfg-[a-z0-9]+$' | \
interfaces_boot=
for inter in `ls ifcfg* | egrep -v '(ifcfg-lo|:)' | egrep 'ifcfg-[a-z0-9]+$'`; do
- int=`egrep -l "ONBOOT=[^n][^o]" $inter | sed 's/^ifcfg-//g'`
+ int=`egrep -L "ONBOOT=\"?[Nn][Oo]\"?" $inter | sed 's/^ifcfg-//g'`
[ -n "$int" ] && interfaces_boot="$interfaces_boot $int"
done