dbus: added machine-id check/generation to dbus startup
This commit is contained in:
parent
1b8eea9ee5
commit
855a6824aa
@ -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
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user