Rework LuCI build system
[project/luci.git] / applications / luci-app-vnstat / ipkg / postinst
1 #!/bin/sh
2
3 [ -n "${IPKG_INSTROOT}" ] || {
4         ( . /etc/uci-defaults/luci-vnstat ) && rm -f /etc/uci-defaults/luci-vnstat
5         /etc/init.d/vnstat enabled || /etc/init.d/vnstat enable
6         exit 0
7 }