Easy install Script for Rustdesk

Update install.sh

authored by dinger1986 and committed by GitHub 9976d34c 3bed54c1

Changed files
+29
+29
install.sh
··· 184 184 185 185 rm rustdesk-server-linux-x64.zip 186 186 187 + # Choice for DNS or IP 188 + PS3='Please choose if you want to download configs and install HTTP server:' 189 + EXTRA=("Yes" "No") 190 + select EXTRAOPT in "${EXTRA[@]}"; do 191 + case $EXTRAOPT in 192 + "Yes") 193 + 187 194 # Create windows install script 188 195 wget https://raw.githubusercontent.com/dinger1986/rustdeskinstall/master/WindowsAgentAIOInstall.ps1 189 196 sudo sed -i "s|wanipreg|${wanip}|g" WindowsAgentAIOInstall.ps1 ··· 261 268 echo "waiting for the keypress" 262 269 fi 263 270 done 271 + break 272 + ;; 273 + 274 + "No") 275 + echo -e "Your IP/DNS Address is ${wanip}" 276 + echo -e "Your public key is ${key}" 277 + echo -e "Install Rustdesk on your machines and change your public key and IP/DNS name to the above" 278 + 279 + echo "Press any key to finish install" 280 + while [ true ] ; do 281 + read -t 3 -n 1 282 + if [ $? = 0 ] ; then 283 + exit ; 284 + else 285 + echo "waiting for the keypress" 286 + fi 287 + done 288 + break 289 + ;; 290 + *) echo "invalid option $REPLY";; 291 + esac 292 + done