freebsd: use /usr/sbin/zzz for suspend

This commit is contained in:
Daniel Kolesa 2014-11-21 15:23:23 +00:00
parent d04a4e705f
commit dc75c4dd7c
2 changed files with 2 additions and 4 deletions

View File

@ -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])

View File

@ -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