mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-13 14:52:23 +08:00
11 lines
114 B
Text
11 lines
114 B
Text
|
#!/bin/sh
|
||
|
|
||
|
case `uname` in
|
||
|
Linux)
|
||
|
ip link set $INTERFACE down
|
||
|
;;
|
||
|
*BSD)
|
||
|
ifconfig $INTERFACE down
|
||
|
;;
|
||
|
esac
|