mirror of
https://github.com/henrygd/beszel.git
synced 2026-09-18 14:04:20 +00:00
* fix(install): generate /etc/machine-id on systems without /proc The install script read the fingerprint UUID from /proc/sys/kernel/random/uuid, which FreeBSD does not have. On pfSense the redirect still created /etc/machine-id, cat failed, and the agent was left with an empty machine-id file. The [ ! -f ] guard then skipped regeneration on every later run. Fall back to uuidgen when /proc is unavailable, mirroring how the script already picks between sha256sum and FreeBSD's sha256, and leave no file behind when neither source exists. * fix(install): regenerate empty machine id