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"
|
EJECT="/usr/bin/eject"
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
freebsd*|pcbsd*)
|
freebsd*|pcbsd*)
|
||||||
SUSPEND="acpiconf -s3"
|
#SUSPEND="acpiconf -s3"
|
||||||
|
SUSPEND="/usr/sbin/zzz"
|
||||||
AC_MSG_NOTICE([use suspend method: $SUSPEND])
|
AC_MSG_NOTICE([use suspend method: $SUSPEND])
|
||||||
HIBERNATE="acpiconf -s4"
|
HIBERNATE="acpiconf -s4"
|
||||||
AC_MSG_NOTICE([use hibernate method: $HIBERNATE])
|
AC_MSG_NOTICE([use hibernate method: $HIBERNATE])
|
||||||
|
|
|
@ -52,9 +52,6 @@ action: /bin/umount @UMOUNT@
|
||||||
action: /usr/bin/eject @EJECT@
|
action: /usr/bin/eject @EJECT@
|
||||||
action: l2ping /usr/bin/l2ping
|
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
|
# root is allowed to do anything - but it needs to be here explicitly anyway
|
||||||
user: root allow: *
|
user: root allow: *
|
||||||
# members of operator, staff and admin groups should be able to do all
|
# members of operator, staff and admin groups should be able to do all
|
||||||
|
|
Loading…
Reference in New Issue