mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-26 21:02:52 +08:00
🏅 Sync 2026-10-01 13:15:01
This commit is contained in:
1 parent
889951b6d0
commit
bf3a20812a
2 files changed
+1
-8
No files matched your search
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=my-default-settings
|
||||
PKG_VERSION:=2
|
||||
PKG_RELEASE:=27
|
||||
PKG_RELEASE:=28
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
||||
@@ -36,13 +36,6 @@ c=1024; nf=16384
|
||||
[ "$mem" -ge 524288 ] && { c=10000; nf=131072; }
|
||||
[ "$mem" -ge 1048576 ] && { c=10000; nf=262144; }
|
||||
|
||||
if ! grep -q '/etc/firewall.user' /etc/config/firewall 2>/dev/null; then
|
||||
uci -q set firewall.firewall_user=include
|
||||
uci -q set firewall.firewall_user.path='/etc/firewall.user'
|
||||
uci -q set firewall.firewall_user.type='script'
|
||||
uci -q set firewall.firewall_user.reload='1'
|
||||
fi
|
||||
|
||||
# 4. 首次开机参数统一批量预设
|
||||
if [ "$version" -lt 1 ]; then
|
||||
uci -q batch <<-EOF
|
||||
|
||||
Reference in new issue
Block a user