mirror of
https://github.com/openwrt/luci.git
synced 2026-08-31 17:01:56 +04:00
applications/luci-vnstat: add postinstall
This commit is contained in:
Executable
+7
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user