mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Little changes
This commit is contained in:
parent
eaf506836a
commit
895182fdfe
4 changed files with 17 additions and 6 deletions
|
@ -4,5 +4,5 @@
|
|||
INTF=gt-${DEV}
|
||||
[ -z "$LOCALIP" ] && LOCALIP="10.255.255.1"
|
||||
[ -z "$BROADCASTIP" ] && BROADCASTIP="10.255.255.3"
|
||||
ip link set dev ${INTF} up
|
||||
ip addr add ${LOCALIP}/30 brd ${BROADCASTIP} dev ${INTF}
|
||||
ip link set dev ${INTF} up 2>&1 >/dev/null
|
||||
ip addr add ${LOCALIP}/30 brd ${BROADCASTIP} dev ${INTF} 2>&1 >/dev/null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue