From dc75c4dd7c1085d3fa23d939965639f8130093a0 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Fri, 21 Nov 2014 15:23:23 +0000 Subject: [PATCH] freebsd: use /usr/sbin/zzz for suspend --- configure.ac | 3 ++- data/etc/sysactions.conf.in | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index c1feb9923..942c72112 100644 --- a/configure.ac +++ b/configure.ac @@ -967,7 +967,8 @@ UMOUNT="/bin/umount" EJECT="/usr/bin/eject" case "$host_os" in freebsd*|pcbsd*) - SUSPEND="acpiconf -s3" + #SUSPEND="acpiconf -s3" + SUSPEND="/usr/sbin/zzz" AC_MSG_NOTICE([use suspend method: $SUSPEND]) HIBERNATE="acpiconf -s4" AC_MSG_NOTICE([use hibernate method: $HIBERNATE]) diff --git a/data/etc/sysactions.conf.in b/data/etc/sysactions.conf.in index 8abb31ac4..bcbd032c4 100644 --- a/data/etc/sysactions.conf.in +++ b/data/etc/sysactions.conf.in @@ -52,9 +52,6 @@ action: /bin/umount @UMOUNT@ action: /usr/bin/eject @EJECT@ action: l2ping /usr/bin/l2ping -# on FreeBSD use this instead of the above. -#action suspend /usr/sbin/zzz - # root is allowed to do anything - but it needs to be here explicitly anyway user: root allow: * # members of operator, staff and admin groups should be able to do all