update-12.04

This commit is contained in:
github-actions[bot] 2021-12-04 23:18:42 +08:00
parent ddc003153a
commit 4bd96afe85
22 changed files with 8 additions and 62 deletions

View File

@ -976,6 +976,11 @@ gen_serv_include(){
start_server(){
[ $(uci_get_by_type server_global enable_server 0) = 0 ] && return
if [[ "$(uci -q get smartdns.@smartdns[0].enabled)" == "1" ]]; then
uci -q del smartdns.@smartdns[0].enabled
uci commit smartdns
/etc/init.d/smartdns stop 2>/dev/null
fi
mkdir -p $VAR
config_load $NAME
config_foreach run_server server_config
@ -990,11 +995,6 @@ start_monitor(){
}
start(){
if [[ "$(uci -q get smartdns.@smartdns[0].enabled)" == "1" ]]; then
uci -q del smartdns.@smartdns[0].enabled
uci commit smartdns
/etc/init.d/smartdns stop 2>/dev/null
fi
touch $LOC
if [ -n "$switch_server" ];then
GLOBAL_SERVER=$switch_server

1
luci-app-ddnsto/po/zh_Hans Symbolic link
View File

@ -0,0 +1 @@
zh-cn

View File

@ -0,0 +1 @@
zh-cn

File diff suppressed because one or more lines are too long

View File

@ -142,12 +142,6 @@ local status = api.uci_get_type("global_other", "status", "")
</div>
</div>
<% end %>
<div class="cbi-value">
<label class="cbi-value-title"></label>
<div class="cbi-value-field">
<iframe src="https://ip.skk.moe/simple" style="width: 100%; border: 0"></iframe></div>
</div>
</div>
</fieldset>
</fieldset>

View File

@ -1,34 +0,0 @@
# nas-packages-luci
luci for [nas-packages](https://github.com/linkease/nas-packages)
## 使用方法
### 增加feed源
```shell
echo >> feeds.conf.default
echo 'src-git nas https://github.com/linkease/nas-packages.git;master' >> feeds.conf.default
echo 'src-git nas_luci https://github.com/linkease/nas-packages-luci.git;main' >> feeds.conf.default
./scripts/feeds update nas nas_luci
./scripts/feeds install -a -p nas
./scripts/feeds install -a -p nas_luci
```
### 集成软件包
```shell
make menuconfig
```
选择软件包
```plain
LuCI --->
3. Applications --->
<*> luci-app-ddnsto.................................. LuCI support for ddnsto
<*> luci-app-linkease.................................. LuCI support for linkease
```
### 构建固件
```shell
make
```