mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-08 07:37:13 +08:00
update 03-26 16:23
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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 || {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user