openbsd-ports/sysutils/consolekit/patches/patch-tools_openbsd_ck-system-stop
ajacoutot eb874011f3 Bring in several fixes from FreeBSD and fd.o bugzilla.
Fix tty names, cmd arguments... Install the stop/restart scripts.
Remove policykit support for now.
2009-11-13 14:52:33 +00:00

13 lines
428 B
Plaintext

$OpenBSD: patch-tools_openbsd_ck-system-stop,v 1.1 2009/11/13 14:52:33 ajacoutot Exp $
--- tools/openbsd/ck-system-stop.orig Fri Nov 13 12:14:17 2009
+++ tools/openbsd/ck-system-stop Fri Nov 13 12:14:44 2009
@@ -8,7 +8,7 @@ unsupported() {
#Try for common tools
if [ -x "/sbin/shutdown" ] ; then
- /sbin/shutdown -p now
+ /sbin/shutdown -hp now
exit $?
elif [ -x "/usr/sbin/shutdown" ] ; then
/usr/sbin/shutdown -p now