aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-01-12 20:34:42 +0000
committerBill Nottingham <notting@redhat.com>2005-01-12 20:34:42 +0000
commit2bdcdcd41e3c9145073a74b08aae898984018051 (patch)
tree6b1e98c036ec5c79752c8ad1c1d8f7d6b955cead /sysconfig/network-scripts/ifup
parent76dcc96886a61c2ac7297e214d0467e341203724 (diff)
downloadinitscripts-2bdcdcd41e3c9145073a74b08aae898984018051.tar
initscripts-2bdcdcd41e3c9145073a74b08aae898984018051.tar.gz
initscripts-2bdcdcd41e3c9145073a74b08aae898984018051.tar.bz2
initscripts-2bdcdcd41e3c9145073a74b08aae898984018051.tar.xz
initscripts-2bdcdcd41e3c9145073a74b08aae898984018051.zip
fix ONxxx (#136531, <cww@redhat.com>)
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup4
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