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

10 lines
139 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}
2020-01-10 22:55:21 +00:00
ip link set dev "$dev" up