home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh -e
-
- # Do not restart dbus on upgrades, only stop if we remove the package
- if [ "$1" = "upgrade" ]; then
- exit 0
- fi
-
- # Automatically added by dh_installinit
- if [ -x "/etc/init.d/dbus" ]; then
- if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
- invoke-rc.d dbus stop || exit $?
- else
- /etc/init.d/dbus stop || exit $?
- fi
- fi
- # End automatically added section
-
-