uncloud-mravi/uncloud/hack/hackcloud/ifup.sh
2020-01-10 23:55:21 +01:00

9 lines
139 B
Bash
Executable file

#!/bin/sh
echo $@ >> foo
dev=$1; shift
# bridge is setup from outside
ip link set dev "$dev" master ${bridge}
ip link set dev "$dev" up