|
|
@ -42,7 +42,7 @@ curl -sSL https://install.pi-hole.net | bash |
|
|
|
|
|
|
|
|
|
|
|
msg "Customizing LXC..." |
|
|
|
msg "Customizing LXC..." |
|
|
|
rm /etc/motd |
|
|
|
rm /etc/motd |
|
|
|
rm /etc/update-motd.d/10-uname |
|
|
|
rm /etc/update-motd.d/11-uname |
|
|
|
touch ~/.hushlogin |
|
|
|
touch ~/.hushlogin |
|
|
|
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" |
|
|
|
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" |
|
|
|
mkdir -p $(dirname $GETTY_OVERRIDE) |
|
|
|
mkdir -p $(dirname $GETTY_OVERRIDE) |
|
|
@ -55,4 +55,4 @@ systemctl daemon-reload |
|
|
|
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') |
|
|
|
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') |
|
|
|
|
|
|
|
|
|
|
|
msg "Cleanup..." |
|
|
|
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/* |
|
|
|