uncloud-mravi/uncloud/hack/hackcloud/ifup.sh

9 lines
113 B
Bash
Raw Normal View History

2020-01-10 22:27:21 +00:00
#!/bin/sh
echo $@ >> foo
dev=$1; shift
# bridge is setup from outside
ip link set dev "$dev" master ${bridge}