#!/bin/sh set -e case "$1" in remove|purge) systemctl stop maglevd.service || true systemctl disable maglevd.service || true ;; esac