mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 02:30:44 -04:00
The FreeBSD PREFIX insistence plays havoc with runit, but this should fix the issues on rebooting and shutting down when using runit-init. The problem was because of the inconsistency of where stopit and reboot are stored. While here, pet rclint and identify bug in rclint at the same time!
12 lines
424 B
C
12 lines
424 B
C
--- src/runit.h.orig 2023-06-06 12:35:21 UTC
|
|
+++ src/runit.h
|
|
@@ -1,4 +1,5 @@
|
|
-#define RUNIT "/sbin/runit"
|
|
-#define STOPIT "/etc/runit/stopit"
|
|
-#define REBOOT "/etc/runit/reboot"
|
|
-#define CTRLALTDEL "/etc/runit/ctrlaltdel"
|
|
+#define PREFIX "%%PREFIX%%"
|
|
+#define RUNIT PREFIX "/sbin/runit"
|
|
+#define STOPIT PREFIX "/etc/runit/stopit"
|
|
+#define REBOOT PREFIX "/etc/runit/reboot"
|
|
+#define CTRLALTDEL PREFIX "/etc/runit/ctrlaltdel"
|