uhub/debian/uhub.prerm
2010-01-26 17:27:34 +01:00

11 lines
209 B
Bash

#!/bin/sh -e
if [ "$1" = remove ]; then
if command -v invoke-rc.d >/dev/null 2>&1; then
invoke-rc.d uhub stop || true
else
/etc/init.d/uhub stop
fi
fi