aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-08-21 22:38:18 +0000
committerBill Nottingham <notting@redhat.com>1999-08-21 22:38:18 +0000
commit79e3a5b563dfbd70ce92f1d548bee3fe3cbbdf8b (patch)
tree12d8eb29e9111328f0a9ec057be612a103322e6f /rc.d
parentb609752b95ff54b63853ec790f66ae8df95078ec (diff)
downloadinitscripts-79e3a5b563dfbd70ce92f1d548bee3fe3cbbdf8b.tar
initscripts-79e3a5b563dfbd70ce92f1d548bee3fe3cbbdf8b.tar.gz
initscripts-79e3a5b563dfbd70ce92f1d548bee3fe3cbbdf8b.tar.bz2
initscripts-79e3a5b563dfbd70ce92f1d548bee3fe3cbbdf8b.tar.xz
initscripts-79e3a5b563dfbd70ce92f1d548bee3fe3cbbdf8b.zip
change onboot grep
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 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