mirror of
https://github.com/RasppleII/a2cloud.git
synced 2025-08-07 11:26:59 +00:00
setup.txt: Quote a few URLs for safety
This commit is contained in:
@@ -319,11 +319,11 @@ fi
|
|||||||
# FIXME#2: All of these MOTDs live in the A2CLOUD tree, so we'll get them from there.
|
# FIXME#2: All of these MOTDs live in the A2CLOUD tree, so we'll get them from there.
|
||||||
echo "A2CLOUD: Setting up motd..."
|
echo "A2CLOUD: Setting up motd..."
|
||||||
if [[ $(grep Raspple /etc/motd) ]]; then
|
if [[ $(grep Raspple /etc/motd) ]]; then
|
||||||
wget -qO- ${scriptURL}setup/motd-rasppleii.txt | sudo tee /etc/motd > /dev/null
|
wget -qO- "${scriptURL}setup/motd-rasppleii.txt" | sudo tee /etc/motd > /dev/null
|
||||||
elif [[ $(grep A2SERVER /etc/motd) ]]; then
|
elif [[ $(grep A2SERVER /etc/motd) ]]; then
|
||||||
wget -qO- ${scriptURL}setup/motd-vm.txt | sudo tee /etc/motd > /dev/null
|
wget -qO- "${scriptURL}setup/motd-vm.txt" | sudo tee /etc/motd > /dev/null
|
||||||
else
|
else
|
||||||
wget -qO- ${scriptURL}setup/motd.txt | sudo tee /etc/motd > /dev/null
|
wget -qO- "${scriptURL}setup/motd.txt" | sudo tee /etc/motd > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if { lspci 2> /dev/null | grep -q VirtualBox; }; then
|
if { lspci 2> /dev/null | grep -q VirtualBox; }; then
|
||||||
@@ -502,7 +502,7 @@ if [[ $installADTPro ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "A2CLOUD: Setting up customized adtpro.sh..."
|
echo "A2CLOUD: Setting up customized adtpro.sh..."
|
||||||
wget -qO /usr/local/adtpro/adtpro.sh ${scriptURL}setup/adtpro.sh.txt
|
wget -qO /usr/local/adtpro/adtpro.sh "${scriptURL}setup/adtpro.sh.txt"
|
||||||
sudo chmod ugo+rwx /usr/local/adtpro/adtpro.sh
|
sudo chmod ugo+rwx /usr/local/adtpro/adtpro.sh
|
||||||
|
|
||||||
if [[ $updateADTPro ]]; then
|
if [[ $updateADTPro ]]; then
|
||||||
|
Reference in New Issue
Block a user