Someone
public text v1 · immutable#!/bin/sh -e
NAME=mono-xsp2
DESC="XSP WebServer"
case "$1" in
upgrade|install)
if [ -f /etc/init.d/mono-xsp ]; then
if which invoke-rc.d >/dev/null 2>&1; then
invoke-rc.d mono-xsp2 stop
else
/etc/init.d/mono-xsp2 stop
fi
fi
;;
esac
exit 0