1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-17 05:50:41 +08:00
NeoNetwork/tinc/tinc-up

12 lines
162 B
Text
Raw Normal View History

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