#!/bin/sh -e INTERFACE="$1" NEW_STATE="$2" test -n "$INTERFACE" test -n "$NEW_STATE" exec ip link set "$INTERFACE" "$NEW_STATE"