blob: dcbe4bdc1706e984a0b38a9ca7feee0e07435285 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
# prerm script for rharchive
set -e
if [ -x "/etc/init.d/rharchive" ] && [ "$1" = remove ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d rharchive stop || true
else
/etc/init.d/rharchive stop || true
fi
fi
|