Fix broken link
This commit is contained in:
@@ -13,7 +13,7 @@ if [ "$UID" -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#Verify provisioning server availability
|
#Verify provisioning server availability
|
||||||
URL="https://prov.franscorack.com"
|
URL="https://prov.core.franscorack.com"
|
||||||
|
|
||||||
if ! wget --spider "$URL" 2>/dev/null; then
|
if ! wget --spider "$URL" 2>/dev/null; then
|
||||||
echo -e "${C_RED}Error: Cannot reach intranet provisioning server - ${F_BOLD}Are you not on LAN or VPN ? / Is it down ?${NO_FORMAT}"
|
echo -e "${C_RED}Error: Cannot reach intranet provisioning server - ${F_BOLD}Are you not on LAN or VPN ? / Is it down ?${NO_FORMAT}"
|
||||||
@@ -26,7 +26,7 @@ if [ -f "/.SSH/script/renew-keys.sh" ]; then
|
|||||||
echo -e "${C_RED}Script not found. Downloading...${NO_FORMAT}"
|
echo -e "${C_RED}Script not found. Downloading...${NO_FORMAT}"
|
||||||
mkdir /.SSH
|
mkdir /.SSH
|
||||||
mkdir /.SSH/script
|
mkdir /.SSH/script
|
||||||
wget https://prov.franscorack.com/script/renew-keys.sh -O /.SSH/script/renew-keys.sh
|
wget https://prov.core.franscorack.com/script/renew-keys.sh -O /.SSH/script/renew-keys.sh
|
||||||
sleep 2
|
sleep 2
|
||||||
fi
|
fi
|
||||||
rm -rf /home/$USER/.ssh
|
rm -rf /home/$USER/.ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user