aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1998-03-10 16:16:13 +0000
committerErik Troan <ewt@redhat.com>1998-03-10 16:16:13 +0000
commit02f74416f22edcef4dc51d36194ed3cd6b50f5b8 (patch)
tree1be841cbba1c0cdce4cbd133b15cd3eb9c3843ba
parent7fae6aace6ac811c4aebdbc1e5c15d9fd6e9d243 (diff)
downloadinitscripts-02f74416f22edcef4dc51d36194ed3cd6b50f5b8.tar
initscripts-02f74416f22edcef4dc51d36194ed3cd6b50f5b8.tar.gz
initscripts-02f74416f22edcef4dc51d36194ed3cd6b50f5b8.tar.bz2
initscripts-02f74416f22edcef4dc51d36194ed3cd6b50f5b8.tar.xz
initscripts-02f74416f22edcef4dc51d36194ed3cd6b50f5b8.zip
look for ipcalc in /bin, not /sbinr3-50
-rwxr-xr-xsysconfig/network-scripts/ifup4
-rwxr-xr-xsysconfig/network-scripts/ifup-post2
2 files changed, 3 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 5ea30db9..294dcfc7 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -116,11 +116,11 @@ fi
if [ "$IPSETUP" != yes ]; then
if [ -z "$BROADCAST" ]; then
- eval `/sbin/ipcalc --broadcast ${IPADDR} ${NETMASK}`
+ eval `/bin/ipcalc --broadcast ${IPADDR} ${NETMASK}`
fi
if [ -z "$NETMASK" ]; then
- eval `/sbin/ipcalc --netmask ${IPADDR} ${NETMASK}`
+ eval `/bin/ipcalc --netmask ${IPADDR} ${NETMASK}`
fi
ifconfig ${DEVICE} ${MACADDR:+hw ether $MACADDR} ${IPADDR} \
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index 35c9a6d2..6dee839a 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -29,7 +29,7 @@ fi
if [ -n "$NEEDHOSTNAME" -a ${DEVICE} != lo ]; then
IPADDR=`ifconfig ${DEVICE} | grep 'inet addr' |
awk -F: '{ print $2 } ' | awk '{ print $1 }'`
- eval `/sbin/ipcalc --silent --hostname ${IPADDR}` && set_hostname $HOSTNAME
+ eval `/bin/ipcalc --silent --hostname ${IPADDR}` && set_hostname $HOSTNAME
fi
# Notify programs that have requested notification