From f5416ac7388e3d7b0df0675ef6cdc100a432d502 Mon Sep 17 00:00:00 2001 From: fbt Date: Sat, 5 Apr 2014 21:24:06 +0400 Subject: [PATCH] dlkjflkds --- init.d/cjdroute | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.d/cjdroute b/init.d/cjdroute index 3659121..1e67956 100755 --- a/init.d/cjdroute +++ b/init.d/cjdroute @@ -6,7 +6,7 @@ service_command='/usr/bin/cjdroute' cjdroute_config='/etc/cjdroute.conf' -cjdroute_admin_port='11234' +cjdroute_listen_port='11234' cjdroute.check_tun_module() { [[ -e '/dev/net/tun' ]] || { @@ -18,7 +18,7 @@ cjdroute.check_tun_module() { } get_pid() { - lsof -i :"$cjdroute_admin_port" | tail -1 | cut -d ' ' -f 2 + lsof -i :"$cjdroute_listen_port" | tail -1 | cut -d ' ' -f 2 } start() {