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