mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 14:31:56 +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..."
|
||||
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/*
|
||||
|
Loading…
Reference in New Issue
Block a user