Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[51-opkg-upgrade] 包自动升级配置的开关是在哪里? #1718

Open
BI7PRK opened this issue Apr 14, 2024 · 0 comments
Open

[51-opkg-upgrade] 包自动升级配置的开关是在哪里? #1718

BI7PRK opened this issue Apr 14, 2024 · 0 comments

Comments

@BI7PRK
Copy link

BI7PRK commented Apr 14, 2024

最近总是无故网络瘫痪,经常排查,是自动更新了某些包。
在计划任务里,会看到这一行定时任务:

55 5 * * * . /etc/hotplug.d/online/51-opkg-upgrade

51-opkg-upgrade 是以下内容

if [ "$(uci -q get wizard.default.autoupgrade_pkg)" == '1' ] && lock -n /var/lock/opkg-upgrade && opkg update; then
. /etc/profile.d/opkg.sh
opkg upgr 2>&1 | logger -t opkg
fi
lock -u /var/lock/opkg-upgrade

代码中的 wizard.default.autoupgrade_pkg 是可以通过 uci 配置的。而这个选项的菜单入口在哪里呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant