prerm 197 B

123456789101112131415
  1. #!/bin/sh
  2. #set -x
  3. set -e
  4. apt-mark unhold fhem
  5. # stop fhem if running
  6. if test -f /etc/init.d/fhem; then
  7. /etc/init.d/fhem stop noaptmark
  8. fi
  9. # remove fhem autostart
  10. update-rc.d -f fhem remove