wok rev 21166

connman: dbus must be running or connmand start fails
author Richard Dunbar <mojo@slitaz.org>
date Sun Mar 31 15:36:17 2019 -0400 (2019-03-31)
parents fc77c2093acf
children bf447c84094b
files connman/stuff/etc/init.d/connman
line diff
     1.1 --- a/connman/stuff/etc/init.d/connman	Sun Mar 31 16:21:20 2019 +0100
     1.2 +++ b/connman/stuff/etc/init.d/connman	Sun Mar 31 15:36:17 2019 -0400
     1.3 @@ -6,6 +6,10 @@
     1.4  # $RUN_DAEMONS variable of /etc/rcS.conf and configure options with
     1.5  # /etc/daemons.conf
     1.6  #
     1.7 +
     1.8 +# Connmand start fails if dbus-daemon is not running. 
     1.9 +[ -n "$(pidof dbus-daemon)" ] || /etc/init.d/dbus start
    1.10 +
    1.11  . /etc/init.d/rc.functions
    1.12  . /etc/daemons.conf
    1.13