summaryrefslogtreecommitdiffstats
path: root/urunlevel/my_linux/Trinux/net-stop
blob: 4b6045716ff940005cab5caa7645d21cc474bdd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

killall udhcpcd 2> /dev/null
killall dhcpcd 2> /dev/null
killall pump 2> /dev/mull

for i in `grep eth /proc/net/dev | cut -d: -f1`
do
	echo "Bringing down $i"
	ifconfig $i down 2> /dev/null
done