#!/bin/sh # Generate unique IDs for this machine: dbus-uuidgen --ensure systemd-machine-id-setup # Ping must me set suid, which we lost with squashfs extraction chmod +s /bin/ping # Set root filesystem persmissions correctly chmod 0755 / # Add splash for grub, if you dont want it, add 'nosplash' sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/' /etc/default/grub update-grub case "$1" in remove) # Restore original Calamares icon dpkg-divert --quiet --rename --package aims-live \ --remove /usr/share/applications/calamares.desktop ;; esac exit 0