-if [ x"${DNS_SERVER_ENA}" == xyes ]; then
- cat > /etc/dhclient-enter-hooks << "EOF"
-# If named is running, do not let dhclient create or modify resolv.conf
-# by specifying an empty function hook:
-make_resolv_conf(){
- :
+network_stop()
+{
+ for i in ${INTERFACES} ; do
+ if LC_ALL= LANG= ip link show dev $i 2> /dev/null | grep -q "UP";
+ then
+ cmd_run_log_box_warn "Ethernet Adapter <$i> stop" \
+ /etc/rc.d/init.d/ifdown "$i"
+ fi
+ done
+
+ ip route flush all