1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-22 14:40:41 +08:00
NeoNetwork/vpn/tinc/tinc-down
2020-04-20 13:04:50 +08:00

10 lines
114 B
Bash

#!/bin/sh
case `uname` in
Linux)
ip link set $INTERFACE down
;;
*BSD)
ifconfig $INTERFACE down
;;
esac