Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lizsvr committed Oct 10, 2022
1 parent bc7c249 commit aea2a66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion ssh/addhost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ echo -e "${NC}${LIGHT}Please Contact Admin!!"
echo -e "${NC}${LIGHT}Telegram : https://t.me/liz_mine"
exit 0
fi
error1="${RED}[ERROR]${NC}"
success="${GREEN}[SUCCESS]${NC}"
clear

echo -e "========================="
read -rp "Masukan Domain/Host : " -e domain
echo -e "========================="
echo -e "Domain: ${domain} Ditambahkan..."
echo -e "${success} Domain: ${domain} Ditambahkan..."
# Delete Files
rm /etc/xray/*
rm /root/domain
Expand Down
6 changes: 4 additions & 2 deletions ssh/newhost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,20 @@ echo -e "${NC}${LIGHT}Please Contact Admin!!"
echo -e "${NC}${LIGHT}Telegram : https://t.me/liz_mine"
exit 0
fi
error1="${RED}[ERROR]${NC}"
success="${GREEN}[SUCCESS]${NC}"
clear
echo -e "========================="
read -rp "Masukan Domain/Host : " -e domain
echo -e "========================="
echo -e "Please wait..."
echo -e "${success} Please wait..."
mkdir -p /usr/bin/xray
mkdir -p /etc/xray
echo $domain >> /etc/xray/domain
echo $domain >> /root/domain
echo "IP=$domain" >> /var/lib/akbarstorevpn/ipvps.conf
echo "none" >> /var/lib/akbarstorevpn/cfndomain
sleep 1
sleep 5

# sleep 0.5
# domain=$(cat /etc/xray/domain)
Expand Down

0 comments on commit aea2a66

Please sign in to comment.