mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-19 03:19:01 +02:00
16 lines
195 B
Bash
16 lines
195 B
Bash
#!/bin/sh
|
|
|
|
if [ -f /var/run/dbus/pid ];
|
|
then
|
|
rm -f /var/run/dbus/pid
|
|
fi
|
|
|
|
dbus-daemon --system
|
|
|
|
echo 'Restarting...'
|
|
/etc/init.d/avahi-daemon stop
|
|
sleep 5
|
|
/etc/init.d/avahi-daemon start
|
|
|
|
exit 0
|