Update init service for FreeBSD

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion committed 2025-10-18 11:23:57 +02:00
1 parent 3faf3dec42
commit 541eae5311
4 files changed
+26 -31

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
# On FreeBSD, even if we override the default login program, getty will still
# try to append "login -fp root" as arguments to Ly, which is not supported.
# To avoid this, we use a wrapper script that ignores these arguments before
# actually executing Ly.
exec $PREFIX_DIRECTORY/bin/$EXECUTABLE_NAME