summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-uvc_streamer/ipkg
diff options
context:
space:
mode:
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
}