# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
#Redhcp, do the xcat part again
rm /restart
echo -n > /tmp/dhcpserver
killall -12 udhcpc;killall -10 udhcpc
echo -n "Wating 10 seconds for DHCP changes to take effect "
for i in 1 2 3 4 5 6 7 8 9 10; do
   sleep 1
   echo -n .
done
echo "Done waiting"
/etc/init.d/S11stunnel #redo stunnel config
exec /etc/init.d/S99xcat.sh