mirror of
https://github.com/kenzok8/small-package
synced 2025-01-07 07:06:58 +08:00
update 2024-12-06 04:24:46
This commit is contained in:
parent
a686a4f33c
commit
c220b9f787
@ -2,7 +2,7 @@
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_VERSION:=1.0.6-20241113
|
||||
PKG_VERSION:=1.0.7-20241206
|
||||
PKG_RELEASE:=
|
||||
|
||||
LUCI_TITLE:=LuCI support for SysTools
|
||||
|
@ -87,8 +87,9 @@ function main_container(data, extra)
|
||||
required = true,
|
||||
title = "可执行操作",
|
||||
type = "string",
|
||||
enum = {"turn_off_ipv6", "full_ipv6", "half_ipv6", "reset_rom_pkgs", "qb_reset_password", "disk_power_mode", "speedtest", "openssl-aes256gcm", "openssl-chacha20-poly1305", "istore-reinstall", "disable-wandrop"},
|
||||
enum = {"disable-planb", "turn_off_ipv6", "full_ipv6", "half_ipv6", "reset_rom_pkgs", "qb_reset_password", "disk_power_mode", "speedtest", "openssl-aes256gcm", "openssl-chacha20-poly1305", "istore-reinstall", "disable-wandrop"},
|
||||
enumNames = {
|
||||
lng.translate("Disable LAN port keepalive"),
|
||||
lng.translate("Turn off IPv6"),
|
||||
lng.translate("Full IPv6"),
|
||||
lng.translate("Half IPv6 (Only Router)"),
|
||||
|
@ -7,6 +7,9 @@ msgstr "执行"
|
||||
msgid "Some convenient tools which can fix some errors."
|
||||
msgstr "一些便利的工具集,方便修复一些问题。"
|
||||
|
||||
msgid "Disable LAN port keepalive"
|
||||
msgstr "禁用 LAN 口保活"
|
||||
|
||||
msgid "Reset rom pkgs"
|
||||
msgstr "修复系统软件"
|
||||
|
||||
|
11
luci-app-systools/root/usr/share/systools/disable-planb.run
Executable file
11
luci-app-systools/root/usr/share/systools/disable-planb.run
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "x$(uci -q get quickstart.main.disable_dhns)" = x1 ]; then
|
||||
echo "Already disabled!"
|
||||
else
|
||||
echo "Disabling..."
|
||||
uci set quickstart.main.disable_dhns=1
|
||||
uci commit quickstart
|
||||
/etc/init.d/quickstart restart
|
||||
echo "Done"
|
||||
fi
|
Loading…
Reference in New Issue
Block a user