diff options
author | Erik Troan <ewt@redhat.com> | 1998-03-10 16:16:13 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1998-03-10 16:16:13 +0000 |
commit | 02f74416f22edcef4dc51d36194ed3cd6b50f5b8 (patch) | |
tree | 1be841cbba1c0cdce4cbd133b15cd3eb9c3843ba /sysconfig/network-scripts | |
parent | 7fae6aace6ac811c4aebdbc1e5c15d9fd6e9d243 (diff) | |
download | initscripts-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
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 4 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-post | 2 |
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 |