description "Shutdown all network interfaces without Loopback" author "Harald Kueller " version 1.0 emits none special start on stopping udev console output script echo "Stopping network" for IF in `ls -d /sys/class/net/*[^lo]`; do DEVNAME=`basename $IF` /sbin/if_down $DEVNAME done end script