freebsd: use /usr/sbin/zzz for suspend
authorDaniel Kolesa <d.kolesa@samsung.com>
Fri, 21 Nov 2014 15:23:23 +0000 (15:23 +0000)
committerDaniel Kolesa <d.kolesa@samsung.com>
Fri, 21 Nov 2014 15:23:23 +0000 (15:23 +0000)
configure.ac
data/etc/sysactions.conf.in

index c1feb99..942c721 100644 (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])
index 8abb31a..bcbd032 100644 (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