update hooks

parent ade18f42
......@@ -81,8 +81,8 @@ update-initramfs -c -u -t -k all || true
touch /etc/apparmor.d/local/firejail-local
firecfg --clean | true
firecfg | true
firecfg --clean || true
firecfg || true
# Hold kernel packages in live image.
for pkg in $(dpkg-query -f'${binary:Package}\n' -l 'linux-image-*' 'linux-headers-*' 'linux-kbuild-*' | grep ii | awk '{print $2}'); do
......
......@@ -3,5 +3,5 @@ set -e
export DEBIAN_FRONTEND=noninteractive
echo "Removing useless stuff"
apt-get purge -y openjdk-8-* openjdk-9-* openjdk-10-* gcc-7 gpp-7 || true
#apt-get purge -y openjdk-8-* openjdk-9-* openjdk-10-* gcc-7 || true
apt-get -y autoremove || true
......@@ -3,5 +3,5 @@ set -e
export DEBIAN_FRONTEND=noninteractive
echo "Removing useless stuff"
apt-get purge -y openjdk-8-* openjdk-9-* openjdk-10-* gcc-7 fonts-noto-extra fonts-noto-cjk-extra fonts-noto-cjk libpython3.6-dev || true
apt-get purge -y openjdk-8-* openjdk-9-* openjdk-10-* fonts-noto-extra fonts-noto-cjk-extra fonts-noto-cjk libpython3.6-dev || true
apt-get -y autoremove || true
......@@ -33,9 +33,6 @@ systemctl disable snmpd || true
echo "Manually disabling nmbd"
systemctl disable nmbd || true
echo "Manually disabling snapd"
systemctl disable snapd || true
echo "Manually disabling openvas services"
systemctl disable openvas-scanner.service || true
systemctl disable openvas-manager.service || true
......
......@@ -33,9 +33,6 @@ systemctl disable snmpd || true
echo "Manually disabling nmbd"
systemctl disable nmbd || true
echo "Manually disabling snapd"
systemctl disable snapd || true
echo "Manually disabling openvas services"
systemctl disable openvas-scanner.service || true
systemctl disable openvas-manager.service || true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment