forked from enlightenment/enlightenment
freebsd: use /usr/sbin/zzz for suspend
This commit is contained in:
parent
d04a4e705f
commit
dc75c4dd7c
|
@ -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])
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue