oops
This commit is contained in:
parent
502b37ae63
commit
16edfb22b8
1 changed files with 2 additions and 3 deletions
|
@ -12,10 +12,9 @@ let
|
|||
''
|
||||
#! /bin/sh
|
||||
if [ "$1" = bound ]; then
|
||||
ip address add "$ip/$mask" dev "$interface"
|
||||
if [ -n "$mtu" ]; then
|
||||
ip address add "$ip/$mask" dev "$interface" mtu "$mtu"
|
||||
else
|
||||
ip address add "$ip/$mask" dev "$interface"
|
||||
ip link set mtu "$mtu" dev "$interface"
|
||||
fi
|
||||
if [ -n "$staticroutes" ]; then
|
||||
echo "$staticroutes" \
|
||||
|
|
Loading…
Reference in a new issue