summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-uvc_streamer/ipkg
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-08 20:00:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-08 20:00:50 +0000
commit9b767cf8dfc1c404f0deb0d8eff704b2e6adeb37 (patch)
tree537a3ca17f85823f872f8859d27a29143e786b55 /applications/luci-uvc_streamer/ipkg
parentc639bda253aa13270f06cf5103200b9b65feee45 (diff)
applications: enable related init scripts on opkg install, otherwise users would have to use the shell
Diffstat (limited to 'applications/luci-uvc_streamer/ipkg')
-rwxr-xr-xapplications/luci-uvc_streamer/ipkg/postinst3
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-uvc_streamer/ipkg/postinst b/applications/luci-uvc_streamer/ipkg/postinst
index 492bc858c5..d0cf7fec6f 100755
--- a/applications/luci-uvc_streamer/ipkg/postinst
+++ b/applications/luci-uvc_streamer/ipkg/postinst
@@ -1,4 +1,5 @@
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
- ( . /etc/uci-defaults/luci-uvc_streamer ) && rm -f /etc/uci-defaults/luci-uvc_streamer
+ ( . /etc/uci-defaults/luci-uvc_streamer ) && rm -f /etc/uci-defaults/luci-uvc_streamer
+ /etc/init.d/uvc-streamer enabled || /etc/init.d/uvc-streamer enable
}