Skip to content

Commit fa14e0a

Browse files
authored
Add comments to systemd-binfmt restart script (#1050)
This script checks for the presence of systemd and restarts the binfmt_misc service
1 parent ac48800 commit fa14e0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

postinst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/sh
2+
# Restart the systemd-binfmt service to load new binary format rules.
3+
# This ensures the system is immediately ready to run programs with Box86.
24
if [ -d '/run/systemd/system' ]; then
35
systemctl restart systemd-binfmt || :
46
fi

0 commit comments

Comments
 (0)