diff options
author | Bill Nottingham <notting@redhat.com> | 2005-01-12 20:36:30 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-01-12 20:36:30 +0000 |
commit | 875794852a19b29bfdc70a74264052decf5d55f0 (patch) | |
tree | 4e4f2e67527f118ffe4a9e7d6978f7e1da31f3db | |
parent | a56459781d2476d603a7f2c614b64ad833d4d4af (diff) | |
download | initscripts-875794852a19b29bfdc70a74264052decf5d55f0.tar initscripts-875794852a19b29bfdc70a74264052decf5d55f0.tar.gz initscripts-875794852a19b29bfdc70a74264052decf5d55f0.tar.bz2 initscripts-875794852a19b29bfdc70a74264052decf5d55f0.tar.xz initscripts-875794852a19b29bfdc70a74264052decf5d55f0.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 2e3f4590..d2ee61f2 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 |