diff options
-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 |