소스 검색

remove workaround for centos 6. it doesn't work anyway.

v2ray 9 년 전
부모
커밋
a6a14247af
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      release/config/systemv/v2ray

+ 0 - 4
release/config/systemv/v2ray

@@ -26,15 +26,11 @@ DAEMON_OPTS="-config /etc/v2ray/config.json"
 [ -r /etc/default/$NAME ] && . /etc/default/$NAME
 
 # Load the VERBOSE setting and other rcS variables
-if [ -f "/lib/init/vars.sh"]; then
 . /lib/init/vars.sh
-fi
 
-if [ -f "/lib/lsb/init-functions"]; then
 # Define LSB log_* functions.
 # Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
 . /lib/lsb/init-functions
-fi
 
 #
 # Function that starts the daemon/service