nut/debian/nut-hal-drivers.postinst

25 lines
349 B
Text
Raw Permalink Normal View History

2010-02-24 21:58:53 +00:00
#!/bin/sh
set -e
case "$1" in
configure)
# ask udev to check for new udev rules
[ -x /etc/init.d/udev ] && pidof udevd > /dev/null \
&& udevadm trigger --action=change
;;
abort-upgrade|abort-remove|abort-deconfigure)
# do nothing
;;
*)
echo "$0: incorrect arguments: $*" >&2
exit 1
;;
esac
#DEBHELPER#