1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-12-26 01:09:24 +08:00
NeoNetwork/tinc/tinc-up
2019-11-03 14:28:40 +08:00

11 lines
162 B
Bash

#!/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