Files
ToolDisks_ISO-WipeStation/config/hooks/normal/0090-remove-unwanted-packages.hook.chroot

7 lines
227 B
Bash
Executable File

#!/bin/bash
echo "I: running $0"
apt -y purge exim4-base nfs-common rpcbind firmware-netronome grub*
if [ -f "/usr/bin/x86_64" ] ; then
apt purge $(apt list --installed |grep linux-image |grep -v bpo| sed 's#/.*##') -y
fi