diff options
author | Bill Nottingham <notting@redhat.com> | 2005-01-12 20:36:27 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-01-12 20:36:27 +0000 |
commit | b14c35bfbc917647f410884b0eba010e491a7efb (patch) | |
tree | 51f5259073f16359117714775874d8cdfded6c86 | |
parent | daea8d6d1804d1170ec2413fe81762d236b8f58f (diff) | |
download | initscripts-b14c35bfbc917647f410884b0eba010e491a7efb.tar initscripts-b14c35bfbc917647f410884b0eba010e491a7efb.tar.gz initscripts-b14c35bfbc917647f410884b0eba010e491a7efb.tar.bz2 initscripts-b14c35bfbc917647f410884b0eba010e491a7efb.tar.xz initscripts-b14c35bfbc917647f410884b0eba010e491a7efb.zip |
fix ONxxx (#136531, <cww@redhat.com>)
-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 90d9ed75..251d7b3b 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -48,11 +48,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 |