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

8 lines
123 B
Bash
Raw Normal View History

2020-01-10 22:27:21 +00:00
#!/bin/sh
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