1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
post_install() { echo echo " Start the hotspot service on startup (using your saved configuration) with:" echo " \$ systemctl enable --now create_ap" echo } post_upgrade() { # Remove old file from previous versions if existing rm -f /etc/sudoers.d/create_ap } post_remove() { echo echo " Optionally remove config file:" echo " sudo rm /etc/wh.config" echo }