dlkjflkds

This commit is contained in:
Jack L. Frost 2014-04-05 21:24:06 +04:00
parent 3a9002ac0d
commit f5416ac738

View File

@ -6,7 +6,7 @@ service_command='/usr/bin/cjdroute'
cjdroute_config='/etc/cjdroute.conf' cjdroute_config='/etc/cjdroute.conf'
cjdroute_admin_port='11234' cjdroute_listen_port='11234'
cjdroute.check_tun_module() { cjdroute.check_tun_module() {
[[ -e '/dev/net/tun' ]] || { [[ -e '/dev/net/tun' ]] || {
@ -18,7 +18,7 @@ cjdroute.check_tun_module() {
} }
get_pid() { 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() { start() {