diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-04-24 18:30:46 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-04-24 18:30:46 +0000 |
commit | 97c87b4262bf3101bd88671e2fca1d00511a1126 (patch) | |
tree | ed40c68d0605203b132c18d1c93804fd46183b71 /sys/arch/sparc64 | |
parent | c8ab692e1f05ae69277f1b30791af3da1eaef37f (diff) |
Tell init(8) to power down machine instead of just halting it.
ok deraadt@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/dev/power.c | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/rtc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc64/dev/power.c b/sys/arch/sparc64/dev/power.c index 0931c1f5a00..f6373562837 100644 --- a/sys/arch/sparc64/dev/power.c +++ b/sys/arch/sparc64/dev/power.c @@ -1,4 +1,4 @@ -/* $OpenBSD: power.c,v 1.4 2007/04/24 17:46:41 kettenis Exp $ */ +/* $OpenBSD: power.c,v 1.5 2007/04/24 18:30:45 kettenis Exp $ */ /* * Copyright (c) 2006 Jason L. Wright (jason@thought.net) @@ -136,7 +136,7 @@ power_intr(void *vsc) if (kbd_reset == 1) { kbd_reset = 0; - psignal(initproc, SIGUSR1); + psignal(initproc, SIGUSR2); } return (1); } diff --git a/sys/arch/sparc64/dev/rtc.c b/sys/arch/sparc64/dev/rtc.c index 11aefe64fa6..454dfaa232a 100644 --- a/sys/arch/sparc64/dev/rtc.c +++ b/sys/arch/sparc64/dev/rtc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtc.c,v 1.2 2007/04/09 20:03:02 kettenis Exp $ */ +/* $OpenBSD: rtc.c,v 1.3 2007/04/24 18:30:45 kettenis Exp $ */ /* * Copyright (c) 1992, 1993 @@ -182,7 +182,7 @@ rtc_intr(void *arg) if (kbd_reset == 1) { kbd_reset = 0; - psignal(initproc, SIGUSR1); + psignal(initproc, SIGUSR2); } return (1); } |