#!/bin/sh if [ -z "$D" -a -f "/etc/init.d/run-postinsts" ]; then /etc/init.d/run-postinsts stop || : fi if type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f" fi update-rc.d $OPT run-postinsts remove fi