From: Adam Osuchowski Date: Mon, 6 Oct 2014 12:19:34 +0000 (+0200) Subject: - `ip link' command syntax changed between versions 3.15 and 3.16 X-Git-Tag: 0.4.13~4 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=3acb594f8ba559c8aaca79e0b7db100959d07286;p=projects%2Frc-scripts.git - `ip link' command syntax changed between versions 3.15 and 3.16 --- diff --git a/lib/ifup b/lib/ifup index 0aef00bb..b0c67564 100755 --- a/lib/ifup +++ b/lib/ifup @@ -80,7 +80,7 @@ fi if [ -n "$MACVLAN_DEV" -a -n "$MACVLAN_MACADDR" ]; then ip link del link ${MACVLAN_DEV} ${DEVICE} type macvlan > /dev/null 2>&1 - ip link add link ${MACVLAN_DEV} address ${MACVLAN_MACADDR} ${DEVICE} type macvlan + ip link add link ${MACVLAN_DEV} address ${MACVLAN_MACADDR} name ${DEVICE} type macvlan fi # is this device available? (this catches PCMCIA devices for us)