mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 21:35:58 +00:00
Do not use /var/run for the socket
The FHS says to use /run everywhere now, so use that to avoid confusion. See https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s13.html
This commit is contained in:
parent
14cc2e7ee4
commit
2012a42a1e
@ -8,7 +8,7 @@ if [ "$(id -u)" -ne 0 ]; then exit 0; fi
|
||||
|
||||
# ---
|
||||
echo "Starting P2P daemon..."
|
||||
export FWUPD_DBUS_SOCKET="/var/run/fwupd.sock"
|
||||
export FWUPD_DBUS_SOCKET="/run/fwupd.sock"
|
||||
rm -rf ${FWUPD_DBUS_SOCKET}
|
||||
@libexecdir@/fwupd/fwupd --verbose --timed-exit --no-timestamp &
|
||||
while [ ! -e ${FWUPD_DBUS_SOCKET} ]; do sleep 1; done
|
||||
|
Loading…
Reference in New Issue
Block a user