luci/applications/luci-app-statistics/root/etc/uci-defaults/40_luci-statistics
Florian Eckert e05c219b24 luci-app-statistics: remove not needed tmp atribute change
We are generating the PNG images on the fly and and the rrdimg directory
itself is not used anymore. Therefore the no longer needed code section
is removed with this commit.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-05-07 11:32:28 +02:00

11 lines
221 B
Bash
Executable file

#!/bin/sh
# register commit handler
uci -q batch <<-EOF >/dev/null
delete ucitrack.@luci_statistics[-1]
add ucitrack luci_statistics
set ucitrack.@luci_statistics[-1].init=luci_statistics
commit ucitrack
EOF
exit 0