summarylogtreecommitdiffstats
path: root/simonpi-git.install
blob: 73a10a0d3e25696a44d59deb1c21c3f796d4af22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
qemuconf=/etc/qemu/

post_install() {

	if [ ! -d "$qemuconf" ]; then 
		mkdir "$qemuconf"	
	fi

        echo "allow rasp-br0" >> "$qemuconf"/bridge.conf
}

post_remove() {
	sed -i '/rasp-br0/d' "$qemuconf"/bridge.conf
	echo "Please remember to remove $qemuconf/bridge.conf if not needed"
}