Add LuCI services menu entry

This commit is contained in:
kzolotarev95 committed 2026-06-28 17:04:35 +04:00
1 parent e891cc1b71
commit 137227389a
5 files changed
+40

No files matched your search

+3
View File
@@ -16,6 +16,7 @@ rmf() {
rmf usr/sbin/owrt-full-backup
rmf usr/sbin/owrt-backup
rmf www/cgi-bin/owrt-full-backup
rmf usr/lib/lua/luci/controller/owrt_full_backup.lua
if [ "$PURGE" = "1" ]; then
rmf etc/config/fullbackup
@@ -23,6 +24,8 @@ if [ "$PURGE" = "1" ]; then
rmdir "$(target_path etc/owrt-full-backup)" 2>/dev/null || true
fi
rm -rf "$(target_path tmp/luci-indexcache)" "$(target_path tmp/luci-modulecache)" 2>/dev/null || true
if [ -x "$(target_path etc/init.d/uhttpd)" ]; then
"$(target_path etc/init.d/uhttpd)" reload >/dev/null 2>&1 || "$(target_path etc/init.d/uhttpd)" restart >/dev/null 2>&1 || true
fi