1
0
mirror of https://github.com/azlux/log2ram.git synced 2023-10-10 13:37:24 +02:00
log2ram/debian/prerm

13 lines
302 B
Plaintext
Raw Normal View History

2019-12-19 16:51:27 +01:00
#!/usr/bin/env bash
2020-02-05 14:47:31 +01:00
case "$1" in
upgrade)
[ -d /run/systemd/system/ ] && systemctl stop log2ram
exit 0
;;
*)
[ -d /run/systemd/system/ ] && systemctl stop log2ram
[ -d /run/systemd/system/ ] && systemctl disable log2ram
exit 0
;;
esac