fix: clean up stale dbus pid file on startup (#81)

This commit is contained in:
Nick007
2026-03-23 18:55:36 +08:00
parent ecc68281c3
commit 7c13e87a69

View File

@@ -1,5 +1,8 @@
#!/bin/bash
# clean up stale dbus pid file to prevent startup failures after container restart
rm -f /run/dbus/pid
# configure openbox dock mode for stalonetray
if [ ! -f /config/.config/openbox/rc.xml ] || grep -A20 "<dock>" /config/.config/openbox/rc.xml | grep -q "<noStrut>no</noStrut>"; then
mkdir -p /config/.config/openbox