[fix] load config issue

This commit is contained in:
233boy
2018-04-23 06:32:46 +08:00
parent a4bcd45bcc
commit 34108b1fba
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash
backup="/etc/v2ray/233blog_v2ray_backup.txt"
v2ray_transport=$(sed -n '17p' $backup)
v2ray_port=$(sed -n '19p' $backup)
v2ray_id=$(sed -n '21p' $backup)

View File

@@ -10,7 +10,7 @@ none='\e[0m'
# Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
_version="v2.1"
_version="v2.11"
cmd="apt-get"