1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-18 13:40:43 +08:00
NeoNetwork/vpn/tinc/tinc-down

11 lines
114 B
Text
Raw Normal View History

2019-11-03 14:28:40 +08:00
#!/bin/sh
case `uname` in
Linux)
ip link set $INTERFACE down
;;
*BSD)
ifconfig $INTERFACE down
;;
esac