diff --git a/init/10_dbus.sh b/init/10_dbus.sh index 69963cf..68ad650 100644 --- a/init/10_dbus.sh +++ b/init/10_dbus.sh @@ -1,6 +1,7 @@ #!/bin/bash -if [ -e /var/run/dbus/pid ]; then rm -f /var/run/dbus/pid; fi +[[ -e /var/run/dbus/pid ]] && rm -f /var/run/dbus/pid + mkdir -p /var/run/dbus chown messagebus:messagebus /var/run/dbus dbus-uuidgen --ensure