summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-mjpg-streamer/ipkg/postinst
blob: cfca9d308f3966275ac9c2a02824005308b15582 (plain)
1
2
3
4
5
6
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
	( . /etc/uci-defaults/luci-mjpg-streamer ) && rm -f /etc/uci-defaults/luci-mjpg-streamer
	/etc/init.d/mjpg-streamer enabled || /etc/init.d/mjpg-streamer enable
	exit 0
}