mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-07-27 00:01:22 +08:00
update 2026-07-22 01:11:14
This commit is contained in:
parent
8da9a63300
commit
7f27610078
@ -70,6 +70,7 @@ define Package/$(PKG_NAME)/postinst
|
||||
ID_CONF="/etc/internet-detector"
|
||||
SYSUP_CONF="/etc/sysupgrade.conf"
|
||||
|
||||
test -w "$$SYSUP_CONF" || exit 0
|
||||
grep -e "^$${ID_CONF}" "$$SYSUP_CONF" > /dev/null || echo "$$ID_CONF" >> "$$SYSUP_CONF"
|
||||
|
||||
exit 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user