mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
9 lines
169 B
Bash
9 lines
169 B
Bash
#!/bin/bash
|
|
|
|
ip link|grep BROADCAST|grep -v eth0|grep -v eth1|cut -d ":" -f 2 > /tmp/iflist
|
|
while read i
|
|
do
|
|
ifconfig $i down
|
|
done < /tmp/iflist
|
|
service dnsmasq stop
|