mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 03:43:29 +00:00
Update shadowsocksr cron
修改add_cron位置,防止服务关闭后,计划任务依然存在的问题。
This commit is contained in:
parent
5a6f9be724
commit
351009aedb
@ -368,7 +368,8 @@ start_redir() {
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
add_cron
|
||||
|
||||
return $?
|
||||
}
|
||||
|
||||
@ -487,8 +488,6 @@ EOF
|
||||
fi
|
||||
start_server
|
||||
start_local
|
||||
|
||||
add_cron
|
||||
|
||||
if [ $(uci_get_by_type global monitor_enable) = 1 ] ;then
|
||||
let total_count=server_count+redir_tcp+redir_udp+tunnel_enable+kcp_enable_flag+local_enable+pdnsd_enable_flag+switch_enable
|
||||
|
Loading…
Reference in New Issue
Block a user