Skip to content

Commit 357c9e3

Browse files
authored
Merge pull request #144 from Tools-cx-app/Tools-cx-app-patch-2
Adjust ipset loading timing and sync upstream changes
2 parents ce8da6d + db91a10 commit 357c9e3

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

src/module/bin/IPSET-LKM/ko-loader

301 KB
Binary file not shown.

src/module/post-fs-data.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/system/bin/sh
2+
set -e
3+
4+
readonly MODDIR="${0%/*}"
5+
readonly MODULE_CONF="$MODDIR/config/module.conf"
6+
readonly LOG_FILE="$MODDIR/logs/service.log"
7+
8+
. "$MODDIR/scripts/utils/common.sh"
9+
10+
log "INFO" "post-fs-data阶段"
11+
12+
sh "$MODDIR/scripts/utils/ipset.sh" load

src/module/service.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,12 @@ log_env_info() {
9898
log "INFO" "=================================="
9999
}
100100

101+
log "INFO" "service阶段"
102+
101103
# 主流程
102104
log "INFO" "========== NetProxy 服务启动 =========="
103105
log_env_info
104106
load_module_config
105-
sh "$MODDIR/scripts/utils/ipset.sh" load
106107

107108
wait_for_boot
108109

0 commit comments

Comments
 (0)