Anpassung an neue Version. Startup nach cblfs vorgaben verändert.
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_dbus@4633 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
6b3385f8d4
commit
01cda1daad
@ -68,12 +68,7 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
export PATH=$PATH:/usr/X11R7/bin
|
export PATH=$PATH:/usr/X11R7/bin
|
||||||
echo -n "Starting dbus messaging system"
|
echo -n "Starting dbus messaging system"
|
||||||
dbus-launch --config-file /etc/sysconfig/dbus/dbus-1/system.conf >/tmp/dbus_startup && \
|
dbus-daemon --system
|
||||||
source /tmp/dbus_startup && \
|
|
||||||
rm /tmp/dbus_startup && \
|
|
||||||
echo $DBUS_SESSION_BUS_PID >/var/run/dbus/pid && \
|
|
||||||
echo "DBUS_SESSION_BUS_ADDRESS='$DBUS_SESSION_BUS_ADDRESS'" \
|
|
||||||
>/var/run/dbus/address
|
|
||||||
evaluate_retval
|
evaluate_retval
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -85,7 +80,6 @@ case "$1" in
|
|||||||
echo -n "Stopping dbus messaging system"
|
echo -n "Stopping dbus messaging system"
|
||||||
kill `cat /var/run/dbus/pid` &&
|
kill `cat /var/run/dbus/pid` &&
|
||||||
rm /var/run/dbus/pid &&
|
rm /var/run/dbus/pid &&
|
||||||
rm /var/run/dbus/address
|
|
||||||
evaluate_retval
|
evaluate_retval
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -41,6 +41,10 @@
|
|||||||
#neue postinstall installiert den in der neuen version erwarteten user messagebus
|
#neue postinstall installiert den in der neuen version erwarteten user messagebus
|
||||||
#
|
#
|
||||||
|
|
||||||
if ! getent passwd messagebus 2>&1 >/dev/null; then
|
if ! getent group messagebus 2>&1 >/dev/null; then
|
||||||
useradd -u 42 messagebus -g daemon -s /bin/false -d /tmp
|
groupadd -g 42 messagebus
|
||||||
fi
|
fi
|
||||||
|
if ! getent passwd messagebus 2>&1 >/dev/null; then
|
||||||
|
useradd -u 42 messagebus -g messagebus -s /bin/false -d /tmp
|
||||||
|
fi
|
||||||
|
dbus-uuidgen --ensure
|
||||||
|
Loading…
Reference in New Issue
Block a user