diff options
author | Bill Nottingham <notting@redhat.com> | 2005-01-12 20:36:21 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-01-12 20:36:21 +0000 |
commit | 01651de3f72bbc656eb5b3bb309319d568204f46 (patch) | |
tree | 7f24c1421518307e6242ebb28fd73c9c13a3e638 /sysconfig/network-scripts/ifup | |
parent | 63574f6941f88a4fe6e1ad6d1ad6a2cb0f65fe3c (diff) | |
download | initscripts-01651de3f72bbc656eb5b3bb309319d568204f46.tar initscripts-01651de3f72bbc656eb5b3bb309319d568204f46.tar.gz initscripts-01651de3f72bbc656eb5b3bb309319d568204f46.tar.bz2 initscripts-01651de3f72bbc656eb5b3bb309319d568204f46.tar.xz initscripts-01651de3f72bbc656eb5b3bb309319d568204f46.zip |
fix ONxxx (#136531, <cww@redhat.com>)
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-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 04c2e620..eecc3f8e 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 |