diff options
author | Robby Workman <rworkman@slackware.com> | 2017-11-12 16:49:43 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2017-11-12 16:49:43 -0600 |
commit | 90b653c4bb66a093282f472aab50d5f78b05df64 (patch) | |
tree | a6bcfc65dcdbc43003fea34e297226e280c0133f /rc.inet1 | |
parent | a1ee3e8cbb94279106c25f1ca76e7b899c89ac26 (diff) | |
download | slacknetsetup-90b653c4bb66a093282f472aab50d5f78b05df64.tar.xz |
rc.inet1: Remove ipmask usage (unnecessary now)
Diffstat (limited to 'rc.inet1')
-rw-r--r-- | rc.inet1 | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -211,9 +211,6 @@ if_up() { fi else # bring up interface using a static IP address if [ ! "${IPADDR[$i]}" = "" ]; then # skip unconfigured interfaces - # Determine broadcast address from the IP address and netmask: - # TODO: this seems unnecessary now... --rworkman - BROADCAST[$i]=$(/bin/ipmask ${NETMASK[$i]} ${IPADDR[$i]}|cut -f1 -d' ') # Set up the network card: echo "/etc/rc.d/rc.inet1: /sbin/ip address add ${IPADDR[$i]}/${NETMASK[$i]} dev ${1}" | $LOGGER /sbin/ip address add ${IPADDR[$i]}/${NETMASK[$i]} dev ${1} |