oops
This commit is contained in:
parent
502b37ae63
commit
16edfb22b8
@ -12,10 +12,9 @@ let
|
|||||||
''
|
''
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
if [ "$1" = bound ]; then
|
if [ "$1" = bound ]; then
|
||||||
|
ip address add "$ip/$mask" dev "$interface"
|
||||||
if [ -n "$mtu" ]; then
|
if [ -n "$mtu" ]; then
|
||||||
ip address add "$ip/$mask" dev "$interface" mtu "$mtu"
|
ip link set mtu "$mtu" dev "$interface"
|
||||||
else
|
|
||||||
ip address add "$ip/$mask" dev "$interface"
|
|
||||||
fi
|
fi
|
||||||
if [ -n "$staticroutes" ]; then
|
if [ -n "$staticroutes" ]; then
|
||||||
echo "$staticroutes" \
|
echo "$staticroutes" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user