Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit 7688b7c

Browse files
committed
Button labels, pipe uninstall log (friendlylwrt)
1 parent 6040fc6 commit 7688b7c

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

packages/ipkbuild/speedifyunofficial/data/usr/lib/lua/luci/model/cbi/speedifyunofficial/options.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ end
2626
function uninstall.write()
2727
luci.sys.call("/etc/init.d/speedifyunofficial stop")
2828
luci.sys.call("rm -rf /usr/share/speedify/* /usr/share/speedifyui/* /www/spdui/*")
29-
luci.sys.call("echo 'Speedify was manually uninstalled...' | tee /www/spdui/index.html | tee /tmp/speedifyunofficial.log &")
29+
luci.sys.call("echo 'Speedify was manually uninstalled...' > tee /tmp/speedifyunofficial.log")
30+
luci.http.redirect("/cgi-bin/luci/admin/vpn/spdconf/logs")
3031
end
3132

3233
return config

packages/ipkbuild/speedifyunofficial/data/usr/lib/lua/luci/model/cbi/speedifyunofficial/spdconf.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ view = config:section(NamedSection,"Setup", "config", translate("Speedify Confi
44
enabled = view:option(Flag, "enabled", "Enable", "Enables Speedify on device startup."); view.optional=false; view.rmempty = false;
55
apt = view:option(Value, "apt", "Debian Repository URL:", "Default address last tested on Q1 2024."); view.optional=false; view.rmempty = false;
66
auto = view:option(Flag, "autoupdate", "Update on boot:", "Update Speedify before starting."); view.optional=false; view.rmempty = false;
7-
upd = view:option(Button, "_update", "Trigger Install/Update", "Install Speedify or update and restart.")
8-
rst = view:option(Button, "_reset", "Trigger Reset", "Reset and restart Speedify.")
7+
upd = view:option(Button, "_update", "Install/Update", "Install Speedify or update and restart.")
8+
rst = view:option(Button, "_reset", "Reset", "Reset and restart Speedify.")
99
genlog = view:option(Button, "_genlog", "Download Logs & Config", "Downloads Speedify log files and OpenWRT configuration/log files.")
1010

1111
function upd.write()

0 commit comments

Comments
 (0)