diff options
author | Florian La Roche <laroche@redhat.com> | 2002-07-10 08:26:06 +0000 |
---|---|---|
committer | Florian La Roche <laroche@redhat.com> | 2002-07-10 08:26:06 +0000 |
commit | 95ef94bed21f6812e2d879d354604c46b51b4016 (patch) | |
tree | 1fb0f7cefeeea2af930ddba518e4991be5139b0a /rc.d/init.d/network | |
parent | 9e3fb5cae87f8d800c065d536d9ba4c8cdcce6c3 (diff) | |
download | initscripts-95ef94bed21f6812e2d879d354604c46b51b4016.tar initscripts-95ef94bed21f6812e2d879d354604c46b51b4016.tar.gz initscripts-95ef94bed21f6812e2d879d354604c46b51b4016.tar.bz2 initscripts-95ef94bed21f6812e2d879d354604c46b51b4016.tar.xz initscripts-95ef94bed21f6812e2d879d354604c46b51b4016.zip |
* Tue Jul 09 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- allow an option for ups poweroff #68123
- change grep for ONBOOT= #63903
- allow building with a cross-compiler #64362,#64255
- faster check in network-functions:check_default_route()
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-x | rc.d/init.d/network | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 0a293c66..364b5567 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -93,7 +93,7 @@ case "$1" in cipeinterfaces="$cipeinterfaces $DEVICE" continue fi - if LANG=C egrep -L "^ONBOOT=\"?[Nn][Oo]\"?" ifcfg-$i > /dev/null ; then + if LANG=C egrep -L "^ONBOOT=['\"]?[Nn][Oo]['\"]?" ifcfg-$i > /dev/null ; then # this loads the module, to preserve ordering is_available $i continue @@ -120,7 +120,7 @@ case "$1" in # Bring up CIPE VPN interfaces for i in $cipeinterfaces ; do - if ! LANG=C egrep -L "^ONBOOT=\"?[Nn][Oo]\"?" ifcfg-$i >/dev/null 2>&1 ; then + if ! LANG=C egrep -L "^ONBOOT=['\"]?[Nn][Oo]['\"]?" ifcfg-$i >/dev/null 2>&1 ; then # If we're in confirmation mode, get user confirmation [ -n "$CONFIRM" ] && { |