2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 13:29:26 +00:00
fhem-mirror/fhem/contrib/DEBIAN/prerm
betateilchen 13ae285ff5 contrib/DEBIAN: fixed package scripts
git-svn-id: https://svn.fhem.de/fhem/trunk@6738 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-10-10 15:52:47 +00:00

14 lines
176 B
Bash
Executable File

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