summaryrefslogtreecommitdiffstats
path: root/rc.inet1
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2017-11-12 16:49:43 -0600
committerRobby Workman <rworkman@slackware.com>2017-11-12 16:49:43 -0600
commit90b653c4bb66a093282f472aab50d5f78b05df64 (patch)
treea6bcfc65dcdbc43003fea34e297226e280c0133f /rc.inet1
parenta1ee3e8cbb94279106c25f1ca76e7b899c89ac26 (diff)
downloadslacknetsetup-90b653c4bb66a093282f472aab50d5f78b05df64.tar.xz
rc.inet1: Remove ipmask usage (unnecessary now)
Diffstat (limited to 'rc.inet1')
-rw-r--r--rc.inet13
1 files changed, 0 insertions, 3 deletions
diff --git a/rc.inet1 b/rc.inet1
index 091dcfe..0ab1c6e 100644
--- a/rc.inet1
+++ b/rc.inet1
@@ -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}