update Sat Sep 12 12:37:01 PDT 2009
[pkgsrc.git] / wip / e17 / patches / patch-ab
1 $NetBSD$
2
3 --- data/etc/sysactions.conf.orig       2007-12-04 18:31:27.000000000 +0100
4 +++ data/etc/sysactions.conf    2007-12-04 18:32:19.000000000 +0100
5 @@ -45,8 +45,8 @@
6  
7  action:   halt      /sbin/shutdown -h now
8  action:   reboot    /sbin/shutdown -r now
9 -action:   suspend   /etc/acpi/sleep.sh force
10 -action:   hibernate /etc/acpi/hibernate.sh force
11 +action:   suspend   /usr/sbin/apm -z
12 +action:   hibernate /usr/sbin/apm -S
13  
14  # on FreeBSD use this instead of the above.
15  #action suspend  /usr/sbin/zzz 
16 @@ -54,6 +54,7 @@ action:   hibernate /etc/acpi/hibernate.
17  # root is allowed to do anything - but it needs to be here explicitly anyway
18  user:     root      allow: *
19  # members of operator, staff and admin groups should be able to do all
20 +group:    wheel     allow: *
21  group:    operator  allow: *
22  group:    staff     allow: *
23  group:    admin     allow: *