how do I swich of ip backgrounding????
Hey
I hope somebody can help me with my problem. I need to switch of the IP backgrounding in /etc/init.d/knoppix-autoconfig
but I can't see where I need to do this.
# Fat-Client-Version: DHCP Broadcast for IP address
if checkbootparam "nodhcp"; then
echo " ${BLUE}Skipping DHCP broadcast/network detection as requested on boot co
mmandline.${NORMAL}"
else
NETDEVICES="$(awk -F: '/eth.:|tr.:/{print $1}' /proc/net/dev 2>/dev/null)"
for DEVICE in $NETDEVICES
do
echo -n "${GREEN}Network device ${MAGENTA}$DEVICE${GREEN} detected, DHCP broadc
asting for IP.${NORMAL}"
trap 2 3 11
ifconfig $DEVICE up >/dev/null 2>&1 ; pump -i $DEVICE >/dev/null 2>&1 &
trap "" 2 3 11
sleep 1
echo " ${BLUE}(Backgrounding)${NORMAL}"
done
fi
also can sombody tell me what trap "" 2 3 11 does????