Update pihole_setup.sh

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

View File

@ -42,7 +42,7 @@ curl -sSL https://install.pi-hole.net | bash
msg "Customizing LXC..."
rm /etc/motd
rm /etc/update-motd.d/10-uname
rm /etc/update-motd.d/11-uname
touch ~/.hushlogin
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE)
@ -55,4 +55,4 @@ systemctl daemon-reload
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
msg "Cleanup..."
rm -rf /pihole_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
rm -rf /pihole_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*