home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- set -e
-
- case "$1" in
- configure)
- # finish the dhcdbd -> zzzz_dhcdbd rename on upgrades
- F=/etc/dhcp3/dhclient-exit-hooks.d/dhcdbd.moved-by-preinst
- if dpkg --compare-versions "$2" le-nl "2.0-2ubuntu2" && [ -e $F ]; then
- rm -f $F
- fi
-
- # Ask the bus to reload the config file
- if [ -x "/etc/init.d/dbus" ]; then
- invoke-rc.d dbus force-reload || true
- fi
-
- # Restart dhcdbd service
- if [ -x "/etc/dbus-1/event.d/22dhcdbd" ]; then
- /etc/dbus-1/event.d/22dhcdbd restart
- fi
-
- ;;
- esac
-
-
-
- exit 0
-