dbus: don't test if the binary exists in the init script
The test doesn't make sense. It just exits without any error if the binary doesn't exist, which is silly. Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
f59d73426b
commit
7183a0eff9
@ -10,9 +10,6 @@
|
|||||||
# pidfile: /var/run/messagebus.pid
|
# pidfile: /var/run/messagebus.pid
|
||||||
#
|
#
|
||||||
|
|
||||||
# Sanity checks.
|
|
||||||
[ -x /usr/bin/dbus-daemon ] || exit 0
|
|
||||||
|
|
||||||
# Create needed directories.
|
# Create needed directories.
|
||||||
[ -d /var/run/dbus ] || mkdir -p /var/run/dbus
|
[ -d /var/run/dbus ] || mkdir -p /var/run/dbus
|
||||||
[ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys
|
[ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys
|
||||||
|
Loading…
Reference in New Issue
Block a user