luci-app-statistics: harden sysupgrade_backup
authorJohn Kohl <jtk.git@bostonpog.org>
Sat, 11 Nov 2023 16:19:58 +0000 (11:19 -0500)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 11 Nov 2023 17:43:44 +0000 (19:43 +0200)
commit5a811622d8216fdae46e1b486b471f593dee222a
tree6d3724fdd06bd89e9efe4c646e73042952a9fb52
parent6b5e1754f2e070d3b60506a9c5acf53c00f9fd92
luci-app-statistics: harden sysupgrade_backup

Remove sysupgrade_backup from help.  Also have it check parameters.

Signed-off-by: John Kohl <jtk.git@bostonpog.org>
(cherry picked from commit 55e0f28b1ec2f86068d1dad9915641e3fb22afbf)
applications/luci-app-statistics/root/etc/init.d/luci_statistics