* luci/applications: force success for postinstall scripts
[project/luci.git] / applications / luci-statistics / ipkg / postinst
index 69fe0c0..e69ae47 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
 [ -n "${IPKG_INSTROOT}" ] || {
        ( . /etc/uci-defaults/luci-statistics ) && rm -f /etc/uci-defaults/luci-statistics
+
+       /etc/init.d/luci_statistics enable
+       /etc/init.d/collectd enable
+
+       exit 0
 }