#! /bin/sh -e
#
-# Copyright 2001,2005 by Stefan Hornburg <racke@linuxia.de>
+# Copyright 2000,2005,2009 by Stefan Hornburg <racke@linuxia.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# MA 02111-1307 USA.
# we need to restart authdaemon
-if [ -x /usr/sbin/authdaemond ]; then
- /usr/sbin/authdaemond restart
+if which authdaemond >/dev/null 2>&1; then
+ authdaemond restart
fi
#DEBHELPER#