#325 [control.sh] yesall not working properly

This commit is contained in:
Ulrich Block 2014-02-15 09:52:33 +01:00
parent 4b756c9547
commit e612835f96

View File

@ -493,6 +493,9 @@ echo "Please add the user $INSTALLMASTER to your AllowUsers entries in the file
if [ -d /root/masterserver ]; then
rm -rf /root/masterserver
fi
if [ "$VARIABLE2" == "yesall" ]; then
echo "no autoinstall"
else
if [ -f /etc/crontab ]; then
echo "Enter yes if you want to install cleanup cronjobs"
read READCRON
@ -513,6 +516,7 @@ if [ "$VARIABLE2" == "yesall" -o "$READUPDATES" == "yes" ]; then
else
UPDATES=1
fi
fi
cat > /home/$INSTALLMASTER/conf/config.cfg <<EOF
# Binary/Runscript list for chmod and exploit protection
BINS="srcds_run srcds_linux hlds_run hlds_amd hlds_i686 ucc-bin ucc-bin-real"