6 if [ `id -u` != 0 ]; then
8 echo "Enter root password for configuring network interface $INTERFACE"
9 echo "(To avoid this prompt, make the script $SCRIPT setuid-root)"
10 /bin/su -c "$SCRIPT $INTERFACE" || exit 1
14 /sbin/ifconfig $INTERFACE 10.254.254.2 netmask 255.255.255.252
16 # Force dhcpd to notice the new network interface
17 if [ -x /etc/init.d/dhcpd ]; then
18 /etc/init.d/dhcpd reload # Redhat
19 elif [ -x /etc/init.d/dhcp ]; then
20 /etc/init.d/dhcp restart # Debian