summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/ipkg/postinst
blob: 7e81b3667f304461b678921b39ad9fb758531992 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
	( . /etc/uci-defaults/luci-statistics ) && rm -f /etc/uci-defaults/luci-statistics

	/etc/init.d/luci_statistics enabled || /etc/init.d/luci_statistics enable
	/etc/init.d/collectd enabled || /etc/init.d/collectd enable
	
	exit 0
}