diff options
author | Bill Nottingham <notting@redhat.com> | 2005-01-12 20:36:24 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-01-12 20:36:24 +0000 |
commit | 1b0806da445a6fa2f0674303155ccff8ec1413f1 (patch) | |
tree | 21bfd0120064dcca490bcf8e31aaaa00468ec28e /sysconfig/network-scripts | |
parent | 62a374aeef68d1ae60c9f6ff48a5eb308a03ca4c (diff) | |
download | initscripts-1b0806da445a6fa2f0674303155ccff8ec1413f1.tar initscripts-1b0806da445a6fa2f0674303155ccff8ec1413f1.tar.gz initscripts-1b0806da445a6fa2f0674303155ccff8ec1413f1.tar.bz2 initscripts-1b0806da445a6fa2f0674303155ccff8ec1413f1.tar.xz initscripts-1b0806da445a6fa2f0674303155ccff8ec1413f1.zip |
fix ONxxx (#136531, <cww@redhat.com>)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 885ecca3..bfb1301b 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -44,11 +44,11 @@ fi source_config -if [ "foo$2" = "fooboot" -a "${ONBOOT}" = "no" -o "${ONBOOT}" = "NO" ] +if [ "foo$2" = "fooboot" ] && [ "${ONBOOT}" = "no" -o "${ONBOOT}" = "NO" ] then exit 0 fi -if [ -n "$IN_HOTPLUG" -a "${HOTPLUG}" = "no" -o "${HOTPLUG}" = "NO" ] +if [ -n "$IN_HOTPLUG" ] && [ "${HOTPLUG}" = "no" -o "${HOTPLUG}" = "NO" ] then exit 0 fi |