mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 16:01:28 +00:00
~改为统一使用ON/OFF来表示功能开启关闭状态
This commit is contained in:
@@ -40,7 +40,7 @@ start)
|
||||
#使用不同方式启动服务
|
||||
if [ "$firewall_area" = "5" ]; then #主旁转发
|
||||
. "$CRASHDIR"/starts/fw_start.sh
|
||||
elif [ "$start_old" = "已开启" ]; then
|
||||
elif [ "$start_old" = "ON" ]; then
|
||||
start_l
|
||||
elif [ -f /etc/rc.common ] && grep -q 'procd' /proc/1/comm; then
|
||||
/etc/init.d/shellcrash start
|
||||
|
||||
Reference in New Issue
Block a user