Update 'installer.sh'

This commit is contained in:
b.waal
2019-09-17 21:50:10 +02:00
parent 8925422f72
commit 9f6e8c4d75

View File

@@ -68,8 +68,8 @@ TERM=ansi whiptail --title "Info" --infobox "Pre-Configuring" 8 20
sleep 2 sleep 2
hostnamectl set-hostname $domain > $OUTPUT 2>&1 hostnamectl set-hostname $domain > $OUTPUT 2>&1
timedatectl set-timezone Europe/Amsterdam > $OUTPUT 2>&1 timedatectl set-timezone Europe/Amsterdam > $OUTPUT 2>&1
adduser --system --no-create-home --disabled-password --disabled-login --shell /bin/false --group --home /var/lib/clamav clamav
mkdir -p /var/run/clamav mkdir -p /var/run/clamav
adduser --system --no-create-home --disabled-password --disabled-login --shell /bin/false --group --home /var/lib/clamav clamav
chown clamav:clamav /var/run/clamav chown clamav:clamav /var/run/clamav
mkdir -p /etc/nginx mkdir -p /etc/nginx
mkdir -p /var/www/"$domain"/html mkdir -p /var/www/"$domain"/html
@@ -88,7 +88,7 @@ chmod -R 755 /var/www
##----------------------## ##----------------------##
# Pre-Requirements # # Pre-Requirements #
##----------------------## ##----------------------##
TERM=ansi whiptail --title "" --infobox "" 0 0 TERM=ansi whiptail --title "Info" --infobox "Buzzy like a bee" 8 20
$PKGM update $PKGM update
$PKGI software-properties-common $PKGI software-properties-common
$PKGA universe -y > $OUTPUT 2>&1 $PKGA universe -y > $OUTPUT 2>&1