update 03-26 16:23

This commit is contained in:
github-actions[bot]
2022-03-26 16:23:56 +08:00
parent c0732c6705
commit 76e09a7c95
3 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ return view.extend({
s.tab('firmware', _('Firmware Settings')); s.tab('firmware', _('Firmware Settings'));
o = s.taboption('firmware', form.Flag, 'autoupgrade_pkg', _('Packages Auto Upgrade')); o = s.taboption('firmware', form.Flag, 'autoupgrade_pkg', _('Packages Auto Upgrade'));
o.default = o.enabled; o.rmempty = false;
o = s.taboption('firmware', form.Flag, 'autoupgrade_fm', _('Firmware Upgrade Notice')); o = s.taboption('firmware', form.Flag, 'autoupgrade_fm', _('Firmware Upgrade Notice'));
o.default = o.enabled; o.default = o.enabled;

View File

@@ -113,7 +113,7 @@ add_wizard() {
/etc/init.d/network restart /etc/init.d/network restart
/etc/init.d/dnsmasq reload)& /etc/init.d/dnsmasq reload)&
if [ "${autoupgrade_pkg}" == "0" ]; then if [ "${autoupgrade_pkg}" != "1" ]; then
sed -i '/opkg-upgrade/d' /etc/crontabs/root sed -i '/opkg-upgrade/d' /etc/crontabs/root
else else
grep -q "opkg-upgrade" /etc/crontabs/root || { grep -q "opkg-upgrade" /etc/crontabs/root || {

View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=natflow PKG_NAME:=natflow
PKG_VERSION:=20220327 PKG_VERSION:=20220329
PKG_SOURCE_URL:=https://codeload.github.com/ptpt52/natflow/tar.gz/$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/ptpt52/natflow/tar.gz/$(PKG_VERSION)?
PKG_HASH:=skip PKG_HASH:=skip