aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-post
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 /sysconfig/network-scripts/ifup-post
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
Diffstat (limited to 'sysconfig/network-scripts/ifup-post')
-rwxr-xr-xsysconfig/network-scripts/ifup-post2
1 files changed, 1 insertions, 1 deletions
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