diff --git a/archive-sources/emmrd/emmrd.init b/archive-sources/emmrd/emmrd.init index 64be7a50..c0b5ba6a 100755 --- a/archive-sources/emmrd/emmrd.init +++ b/archive-sources/emmrd/emmrd.init @@ -10,8 +10,10 @@ case $1 in fi ;; stop) - SHOWINFO "stopping ..." - killall emmrd + if [ -e /var/etc/.emmrd ]; then + SHOWINFO "stopping ..." + killall emmrd + fi ;; *) echo "[${BASENAME}] Usage: $0 {start|stop}"