summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-vnstat/ipkg/postinst
blob: 816084a4892b47fe4dadc1ad72d4e49e4fabb4db (plain)
1
2
3
4
5
6
7
#!/bin/sh

[ -n "${IPKG_INSTROOT}" ] || {
	( . /etc/uci-defaults/luci-vnstat ) && rm -f /etc/uci-defaults/luci-vnstat
	/etc/init.d/vnstat enabled || /etc/init.d/vnstat enable
	exit 0
}