Commit 8ba69dec authored by Michael Biebl's avatar Michael Biebl

* Deprecate the ENABLED option and remove it from /etc/default/dbus. Print a

  warning message in the init script if this option is still used.

git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/dbus@1908 ceb527fc-18e6-0310-9fe2-813c157c29e7
parent 833a11cd
dbus (1.1.2-2) UNRELEASED; urgency=low
[ Loic Minier ]
* Merge patch from Ubuntu to build a devhelp file; thanks Martin Pitt;
closes: #454142.
- Build-dep on xsltproc.
......@@ -12,7 +13,11 @@ dbus (1.1.2-2) UNRELEASED; urgency=low
around; add a symlink from the gtk-doc dir.
* Misc smallish whitespace cleanups.
-- Loic Minier <lool@dooz.org> Mon, 03 Dec 2007 15:46:05 +0100
[ Michael Biebl ]
* Deprecate the ENABLED option and remove it from /etc/default/dbus. Print a
warning message in the init script if this option is still used.
-- Michael Biebl <biebl@debian.org> Tue, 04 Dec 2007 21:31:12 +0100
dbus (1.1.2-1) unstable; urgency=low
......
......@@ -5,6 +5,3 @@
# Parameters to pass to dbus.
PARAMS=""
# Whether or not to run the dbus system daemon; set to 0 to disable.
ENABLED=1
......@@ -31,13 +31,16 @@ test -x $DAEMON || exit 0
. /lib/lsb/init-functions
# Source defaults file; edit that file to configure this script.
ENABLED=1
PARAMS=""
if [ -e /etc/default/dbus ]; then
. /etc/default/dbus
fi
test "$ENABLED" != "0" || exit 0
if [ -n "$ENABLED" ]; then
log_warning_msg "The ENABLED option in /etc/default/$NAME has been deprecated."
log_warning_msg "Please remove this setting from the configuration file."
log_warning_msg "To disable the service use a runlevel editor like sysv-rc-conf or bum instead."
fi
create_machineid() {
# Create machine-id file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment