mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-20 05:40:43 +08:00
12 lines
162 B
Text
12 lines
162 B
Text
|
#!/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
|