hooks: emit log message before running

This commit is contained in:
nodiscc
2020-04-13 15:13:56 +02:00
parent e3bec8cc31
commit de4a62ed7f
6 changed files with 7 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
#!/bin/bash
echo "running [$0]"
aptitude -y purge exim4-base nfs-common rpcbind

View File

@@ -1,4 +1,5 @@
#!/bin/bash
echo "running [$0]"
disabled_services="avahi-daemon.service openvpn.service rsync.service ssh.service nmbd.service smbd.service libvirtd.service libvirt-guests.service"
enabled_services="bumblebeed.service cups-browsed.service bluetooth.service cups.service fancontrol.service laptop-mode.service ntp.service plymouth.service preload.service smartmontools.service rsyslog.service lm-sensors.service hddtemp.service haveged.service"

View File

@@ -1,2 +1,3 @@
#!/bin/bash
echo "running [$0]"
update-alternatives --set x-session-manager /usr/bin/xfce4-session

View File

@@ -1,3 +1,4 @@
#!/bin/bash
echo "running [$0]"
dpkg --add-architecture i386
apt update

View File

@@ -1,3 +1,4 @@
#!/bin/bash
echo "running [$0]"
locale-gen --keep-existing
localepurge

View File

@@ -1,4 +1,6 @@
#!/bin/sh
echo "running [$0]"
# clear APT package download cache to reduce the image size from ~100MB
rm -vr /var/lib/apt/lists/