mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
15 lines
388 B
C
15 lines
388 B
C
--- init/halt.c.orig 2021-01-01 10:52:27 UTC
|
|
+++ init/halt.c
|
|
@@ -169,8 +169,11 @@ int halt_main(int argc UNUSED_PARAM, char **argv)
|
|
RB_POWER_OFF,
|
|
RB_AUTOBOOT
|
|
};
|
|
+#if defined(__FreeBSD__)
|
|
+ static const smallint signals[] = { SIGUSR1, SIGUSR2, SIGINT };
|
|
+#else
|
|
static const smallint signals[] = { SIGUSR1, SIGUSR2, SIGTERM };
|
|
-
|
|
+#endif
|
|
int delay = 0;
|
|
int which, flags, rc;
|
|
|