* luci/applications: force success for postinstall scripts
[project/luci.git] / applications / luci-statistics / ipkg / postinst
1 #!/bin/sh
2 [ -n "${IPKG_INSTROOT}" ] || {
3         ( . /etc/uci-defaults/luci-statistics ) && rm -f /etc/uci-defaults/luci-statistics
4
5         /etc/init.d/luci_statistics enable
6         /etc/init.d/collectd enable
7
8         exit 0
9 }