uhub/debian/uhub.prerm

11 lines
209 B
Plaintext
Raw Normal View History

2010-01-26 16:00:55 +00:00
#!/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