14 lines
192 B
Bash
Executable File
14 lines
192 B
Bash
Executable File
#!/bin/sh
|
|
|
|
mount -t cgroup none /sys/fs/cgroup
|
|
|
|
# start bridge
|
|
brctl addbr br0
|
|
ifconfig eth0 up
|
|
brctl addif br0 eth0
|
|
ifconfig eth1 up
|
|
brctl addif br0 eth1
|
|
ifconfig br0 up
|
|
|
|
lxc-start -n stb -d
|