fixies
This commit is contained in:
parent
d35c0315dd
commit
cbd315a9a4
3
debian/postinst
vendored
3
debian/postinst
vendored
|
@ -7,7 +7,7 @@ fi
|
||||||
|
|
||||||
if [ -x "/etc/init.d/ps-watcher" ]; then
|
if [ -x "/etc/init.d/ps-watcher" ]; then
|
||||||
update-rc.d ps-watcher defaults 40 >/dev/null
|
update-rc.d ps-watcher defaults 40 >/dev/null
|
||||||
if [ "$startup" == "1" ] && [ -f $CONFIG ]; then
|
if [ "$startup" = "1" ] && [ -f $CONFIG ]; then
|
||||||
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
|
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
|
||||||
invoke-rc.d ps-watcher start || exit $?
|
invoke-rc.d ps-watcher start || exit $?
|
||||||
else
|
else
|
||||||
|
@ -16,3 +16,4 @@ if [ -x "/etc/init.d/ps-watcher" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
4
debian/prerm
vendored
4
debian/prerm
vendored
|
@ -5,10 +5,12 @@ then
|
||||||
. /etc/default/ps-watcher
|
. /etc/default/ps-watcher
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x "/etc/init.d/ps-watcher" ] && [ "$startup" == "1" ] && [ -f $CONFIG ]; then
|
if [ -x "/etc/init.d/ps-watcher" ] && [ "$startup" = "1" ] && [ -f $CONFIG ]; then
|
||||||
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
|
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
|
||||||
invoke-rc.d ps-watcher stop || exit $?
|
invoke-rc.d ps-watcher stop || exit $?
|
||||||
else
|
else
|
||||||
/etc/init.d/ps-watcher stop || exit $?
|
/etc/init.d/ps-watcher stop || exit $?
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
Loading…
Reference in a new issue