dbus: added machine-id check/generation to dbus startup

This commit is contained in:
Matt Housh 2006-12-23 13:03:14 -06:00
parent 1b8eea9ee5
commit 855a6824aa
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,3 @@
23bc5ff22fe4f9a208d65fbbfd489ad9 30-dbus.launch 23bc5ff22fe4f9a208d65fbbfd489ad9 30-dbus.launch
0552a9b54beb4a044951b7cdbc8fc855 dbus-1.0.2.tar.gz 0552a9b54beb4a044951b7cdbc8fc855 dbus-1.0.2.tar.gz
0dc978461c9f75b6203f7c0cd0481b22 rc.dbus f3d2047d1a05cc0c6fcb5afaea4605a5 rc.dbus

View File

@ -5,7 +5,7 @@
name=dbus name=dbus
version=1.0.2 version=1.0.2
release=2 release=3
source=(http://dbus.freedesktop.org/releases/dbus/$name-$version.tar.gz \ source=(http://dbus.freedesktop.org/releases/dbus/$name-$version.tar.gz \
rc.dbus 30-dbus.launch) rc.dbus 30-dbus.launch)

View File

@ -5,6 +5,10 @@
case $1 in case $1 in
start) start)
if [ ! -f /var/lib/dbus/machine-id ]
then
/usr/bin/dbus-uuidgen --ensure
fi
/usr/sbin/dbus-daemon --system /usr/sbin/dbus-daemon --system
;; ;;
stop) stop)