diff options
author | Bill Nottingham <notting@redhat.com> | 1999-08-21 22:38:18 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-08-21 22:38:18 +0000 |
commit | 79e3a5b563dfbd70ce92f1d548bee3fe3cbbdf8b (patch) | |
tree | 12d8eb29e9111328f0a9ec057be612a103322e6f /rc.d | |
parent | b609752b95ff54b63853ec790f66ae8df95078ec (diff) | |
download | initscripts-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-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 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 |