mirror of
https://github.com/tteck/Proxmox.git
synced 2025-01-12 15:21:57 +00:00
Update pihole_setup.sh
This commit is contained in:
parent
f1ed1f78cc
commit
55f1adf51d
@ -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/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user