Update pihole_setup.sh

This commit is contained in:
tteck 2021-09-30 10:08:05 -04:00 committed by GitHub
parent 55f1adf51d
commit 87056049b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ apt-get -y purge openssh-{client,server} >/dev/null
apt-get autoremove >/dev/null
msg "Updating LXC OS..."
apt-get update >/dev/null
apt-get dist-upgrade >/dev/null
apt-get -qqy upgrade &>/dev/null
msg "Installing Prerequisites..."
@ -42,7 +42,7 @@ curl -sSL https://install.pi-hole.net | bash
msg "Customizing LXC..."
rm /etc/motd
rm /etc/update-motd.d/11-uname
rm /etc/update-motd.d/10-uname
touch ~/.hushlogin
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE)