2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00
fhem-mirror/fhem/contrib/DEBIAN/prerm
rudolfkoenig 032ef3614b Changes from alex validated
git-svn-id: https://svn.fhem.de/fhem/trunk@722 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2010-09-30 13:34:09 +00:00

12 lines
149 B
Bash
Executable File

#!/bin/sh
set -e
if pgrep fhem.pl >/dev/null; then
if test -x /sbin/initctl; then
initctl stop fhem
else
invoke-rc.d fhem stop
fi
fi