<!-- Generator: GNU source-highlight 2.4
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt>#
#
# patch "packages/dbus/dbus-1.2.1/dbus-1.init"
# from [9bdceca2b1986db6ec905e8b53e6402be0b88e9a]
# to [83cadc2d6562bfb296418a8dc698f37ff6e05154]
#
# patch "packages/dbus/dbus_1.2.1.bb"
# from [a941688e3a8621769a37bb46e79d4f2d5764966a]
# to [13d62bf774c4fbb379fe51e709aa9044ae5084e9]
#
============================================================
<font color="#FF6600">--- packages/dbus/dbus-1.2.1/dbus-1.init        9bdceca2b1986db6ec905e8b53e6402be0b88e9a</font>
<font color="#009900">+++ packages/dbus/dbus-1.2.1/dbus-1.init        83cadc2d6562bfb296418a8dc698f37ff6e05154</font>
<font color="#0000FF">@@ -2,14 +2,15 @@</font>
# -*- coding: utf-8 -*-
# Debian init.d script for D-BUS
# Copyright © 2003 Colin Walters <walters@debian.org>
<font color="#009900">+# Copyright 2008 OE Team</font>
set -e
DAEMON=/usr/bin/dbus-daemon
NAME=dbus
DAEMONUSER=messagebus
<font color="#FF6600">-PIDDIR=/var/run/dbus</font>
<font color="#FF6600">-PIDFILE=$PIDDIR/pid</font>
<font color="#009900">+RUNDIR=/var/run/dbus</font>
<font color="#009900">+PIDFILE=/var/run/messagebus.pid</font>
UUIDDIR=/var/lib/dbus
DESC="system message bus"
EVENTDIR=/etc/dbus-1/event.d
<font color="#0000FF">@@ -27,10 +28,10 @@ start_it_up()</font>
start_it_up()
{
<font color="#FF6600">- if [ ! -d $PIDDIR ]; then</font>
<font color="#FF6600">- mkdir -p $PIDDIR</font>
<font color="#FF6600">- chown $DAEMONUSER $PIDDIR</font>
<font color="#FF6600">- chgrp $DAEMONUSER $PIDDIR</font>
<font color="#009900">+ if [ ! -d $RUNDIR ]; then</font>
<font color="#009900">+ mkdir -p $RUNDIR</font>
<font color="#009900">+ chown $DAEMONUSER $RUNDIR</font>
<font color="#009900">+ chgrp $DAEMONUSER $RUNDIR</font>
fi
if [ -e $PIDFILE ]; then
PIDDIR=/proc/$(cat $PIDFILE)
<font color="#0000FF">@@ -51,7 +52,7 @@ start_it_up()</font>
dbus-uuidgen --ensure
echo -n "Starting $DESC: "
<font color="#FF6600">- start-stop-daemon --start --quiet --pidfile $PIDFILE \</font>
<font color="#009900">+ start-stop-daemon --start --pidfile $PIDFILE \</font>
--user $DAEMONUSER --exec $DAEMON -- --system $PARAMS
echo "$NAME."
if [ -d $EVENTDIR ]; then
<font color="#0000FF">@@ -66,7 +67,7 @@ shut_it_down()</font>
run-parts --arg=stop $EVENTDIR
fi
echo -n "Stopping $DESC: "
<font color="#FF6600">- start-stop-daemon --stop --quiet --pidfile $PIDFILE \</font>
<font color="#009900">+ start-stop-daemon --stop --oknodo --pidfile $PIDFILE \</font>
--user $DAEMONUSER
# We no longer include these arguments so that start-stop-daemon
# can do its job even given that we may have been upgraded.
============================================================
<font color="#FF6600">--- packages/dbus/dbus_1.2.1.bb        a941688e3a8621769a37bb46e79d4f2d5764966a</font>
<font color="#009900">+++ packages/dbus/dbus_1.2.1.bb        13d62bf774c4fbb379fe51e709aa9044ae5084e9</font>
<font color="#0000FF">@@ -1,3 +1,3 @@ include dbus.inc</font>
include dbus.inc
<font color="#009900">+PR = "r1"</font>
<font color="#FF6600">-PR = "r0"</font>
</tt></pre>