applications/luci-vnstat: add postinstall

This commit is contained in:
Jo-Philipp Wich 2011-01-14 17:56:30 +00:00
parent 093f677a30
commit 483826c994

View file

@ -0,0 +1,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
}