Sheng Yang 258a1bc451 Ifdown may not bring interface down if ifup not run
Use ifconfig to bring it down
2011-08-11 15:01:02 -07:00

6 lines
65 B
Bash

#!/bin/bash
ifdown eth2
ifconfig eth2 down
service dnsmasq stop