summarylogtreecommitdiffstats
path: root/sbupdate.install
blob: 04ecbd857c75eddac47643666ff9a2c651642735 (plain)
1
2
3
4
5
6
7
pre_remove() {
    systemctl disable "sbupdate@.path"

    if systemctl --quiet is-system-running; then
        systemctl stop "sbupdate@*.path"
    fi
}