2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 19:30:31 +00:00
fhem-mirror/fhem/contrib/DEBIAN/prerm

15 lines
197 B
Plaintext
Raw Normal View History

#!/bin/sh
#set -x
set -e
apt-mark unhold fhem
# stop fhem if running
if test -f /etc/init.d/fhem; then
/etc/init.d/fhem stop noaptmark
fi
# remove fhem autostart
update-rc.d -f fhem remove