Files
sablink-distro/sys-apps/hal/files/96_plugdev_allow_send.patch
T
(no author) 8b2942b01d - removed old hal ebuilds
- added our hal 0.5.10 ebuild with NTFS-3G support

git-svn-id: http://svn.sabayonlinux.org/overlay@1953 d7aec97c-591d-0410-af39-a8856400b30a
2008-02-04 09:10:03 +00:00

43 lines
1.7 KiB
Diff

Index: b/hal.conf
===================================================================
--- a/hal.conf 2007-04-03 00:41:24.000000000 -0400
+++ b/hal.conf 2007-04-06 20:36:53.000000000 -0400
@@ -63,5 +63,16 @@
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>
+ <!-- Gentoo specific rules to allow 'plugdev' group to access Volumes and Power Management -->
+ <!-- We possibly will use 'powerdev' for Power Management or work on encapsulating everything in ConsoleKit -->
+ <policy group="plugdev">
+ <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
+ <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
+ </policy>
+ <policy group="plugdev">
+ <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
+ <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
+ </policy>
+
</busconfig>
Index: b/hal.conf.in
===================================================================
--- a/hal.conf.in 2007-03-07 16:52:19.000000000 -0500
+++ b/hal.conf.in 2007-04-06 20:37:59.000000000 -0400
@@ -63,5 +63,16 @@
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>
+ <!-- Gentoo specific rules to allow 'plugdev' group to access Volumes and Power Management -->
+ <!-- We possibly will use 'powerdev' for Power Management or work on encapsulating everything in ConsoleKit -->
+ <policy group="plugdev">
+ <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
+ <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
+ </policy>
+ <policy group="plugdev">
+ <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
+ <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
+ </policy>
+
</busconfig>