fix dbus error bug

pull/171/head
233boy 6 years ago
parent c3fe1396ec
commit 26055c3b02
  1. 14
      install.sh

@ -138,6 +138,7 @@ _sys_time() {
echo -e "\n主机时间:${yellow}" echo -e "\n主机时间:${yellow}"
timedatectl status | sed -n '1p;4p' timedatectl status | sed -n '1p;4p'
echo -e "${none}" echo -e "${none}"
$IS_OPENV && pause
} }
v2ray_config() { v2ray_config() {
@ -765,11 +766,16 @@ install_v2ray() {
echo echo
if [[ $cmd == "apt-get" ]]; then if [[ $cmd == "apt-get" ]]; then
$cmd update -y $cmd update -y
$cmd install -y socat lrzsz git zip unzip curl wget qrencode libcap2-bin patch diffutils jq $cmd install -y socat lrzsz git zip unzip curl wget qrencode libcap2-bin patch diffutils jq dbus
else else
# $cmd install -y lrzsz git zip unzip curl wget qrencode libcap iptables-services # $cmd install -y lrzsz git zip unzip curl wget qrencode libcap iptables-services
$cmd install -y socat lrzsz git zip unzip curl wget qrencode libcap patch diffutils $cmd install -y socat lrzsz git zip unzip curl wget qrencode libcap patch diffutils
fi fi
_disableselinux
_sys_timezone
_sys_time
echo
echo
[ -d /etc/v2ray ] && rm -rf /etc/v2ray [ -d /etc/v2ray ] && rm -rf /etc/v2ray
if [[ $local_install ]]; then if [[ $local_install ]]; then
@ -952,12 +958,6 @@ _install() {
echo echo
exit 1 exit 1
fi fi
_disableselinux
_sys_timezone
_sys_time
echo
echo
pause
v2ray_config v2ray_config
blocked_hosts blocked_hosts
shadowsocks_config shadowsocks_config

Loading…
Cancel
Save