diff --git a/autoshare-ksmbd/files/20-smb-ksmbd b/autoshare-ksmbd/files/20-smb-ksmbd
index e1590f6cc..b7bc77883 100644
--- a/autoshare-ksmbd/files/20-smb-ksmbd
+++ b/autoshare-ksmbd/files/20-smb-ksmbd
@@ -7,7 +7,10 @@
# 警告:对着屏幕的哥们,我们允许你使用此脚本,但不允许你抹去作者的信息,请保留这段话。
#
-[ "$(uci -q get ksmbd.@globals[0].autoshare)" == "1" ] && exit 0;
+[ "$(uci -q get ksmbd.@globals[0].autoshare)" == "1" ] && {
+/etc/init.d/ksmbd restart
+exit 0;
+}
. /lib/functions.sh
. /lib/functions/service.sh
diff --git a/autoshare-samba/files/20-smb b/autoshare-samba/files/20-smb
index 0d4fabf8d..152cb7972 100644
--- a/autoshare-samba/files/20-smb
+++ b/autoshare-samba/files/20-smb
@@ -7,7 +7,10 @@
# 警告:对着屏幕的哥们,我们允许你使用此脚本,但不允许你抹去作者的信息,请保留这段话。
#
-[ "$(uci -q get samba4.@samba[0].autoshare)" == "1" ] && exit 0;
+[ "$(uci -q get samba4.@samba[0].autoshare)" == "1" ] && {
+/etc/init.d/samba4 restart
+exit 0;
+}
. /lib/functions.sh
. /lib/functions/service.sh
diff --git a/luci-app-godproxy/luasrc/model/cbi/koolproxy/basic.lua b/luci-app-godproxy/luasrc/model/cbi/koolproxy/basic.lua
index 62aab5a2d..647e5fa26 100644
--- a/luci-app-godproxy/luasrc/model/cbi/koolproxy/basic.lua
+++ b/luci-app-godproxy/luasrc/model/cbi/koolproxy/basic.lua
@@ -54,7 +54,7 @@ e.default = 1
e = t:option(MultiValue, "koolproxy_rules", translate("内置规则"))
e.optional = false
-e.rmempty = false
+e.rmempty = true
e:value("koolproxy.txt", translate("静态规则"))
e:value("daily.txt", translate("每日规则"))
e:value("kp.dat", translate("视频规则"))
@@ -62,7 +62,7 @@ e:value("user.txt", translate("自定义规则"))
e = t:option(MultiValue, "thirdparty_rules", translate("第三方规则"))
e.optional = false
-e.rmempty = false
+e.rmempty = true
e:value("adg.txt", translate("AdGuard规则"))
e:value("steven.txt", translate("Steven规则"))
e:value("yhosts.txt", translate("Yhosts规则"))
diff --git a/luci-app-oaf/luasrc/view/admin_network/dev_status.htm b/luci-app-oaf/luasrc/view/admin_network/dev_status.htm
index 58cf16ed0..81210b2b7 100755
--- a/luci-app-oaf/luasrc/view/admin_network/dev_status.htm
+++ b/luci-app-oaf/luasrc/view/admin_network/dev_status.htm
@@ -4,7 +4,27 @@ local dsp = require "luci.dispatcher"
-%>
#display{
- display: flex;
+ padding: 10px;
+ display: -webkit-box;
+ -webkit-box-orient: horizontal;
+ -webkit-box-pack: center;
+ -webkit-box-align: center;
+ display: -moz-box;
+ -moz-box-orient: horizontal;
+ -moz-box-pack: center;
+ -moz-box-align: center;
+ display: -o-box;
+ -o-box-orient: horizontal;
+ -o-box-pack: center;
+ -o-box-align: center;
+ display: -ms-box;
+ -ms-box-orient: horizontal;
+ -ms-box-pack: center;
+ -ms-box-align: center;
+ display: box;
+ box-orient: horizontal;
+ box-pack: center;
+ box-align: center;
}
table.imagetable {
@@ -14,6 +34,7 @@ table.imagetable {
border-width: 1px;
border-color: #999999;
border-collapse: collapse;
+ padding-top:10px;
}
-
-