diff options
author | Sebastian Schmelzer | 2008-10-18 18:54:01 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2008-10-18 18:54:01 +0200 |
commit | b679f7f08b910ed2a55dfd65f270e286d32b8d27 (patch) | |
tree | 46890d75f193e6bb115538fa9e77546ff66ffa93 /initramfs/distro-specs/ubuntu/functions-default | |
parent | added confirm on exit to vmplayer (diff) | |
download | core-b679f7f08b910ed2a55dfd65f270e286d32b8d27.tar.gz core-b679f7f08b910ed2a55dfd65f270e286d32b8d27.tar.xz core-b679f7f08b910ed2a55dfd65f270e286d32b8d27.zip |
* finaly fixed ubuntu hotplug stuff
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2363 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-default')
-rw-r--r-- | initramfs/distro-specs/ubuntu/functions-default | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default index 2f848ab3..073a0749 100644 --- a/initramfs/distro-specs/ubuntu/functions-default +++ b/initramfs/distro-specs/ubuntu/functions-default @@ -204,6 +204,10 @@ if [ "x$start_dreshal" = "xyes" ]; then rm -rf /mnt/etc/dbus-1/system.d/*etwork*anager.conf \ /mnt/etc/dbus-1/system.d/nm-* \ /mnt/etc/dbus-1/event.d/*NetworkManager* + sed -i /mnt/etc/PolicyKit/PolicyKit.conf \ + -e "s/\(<\/config>\)/<match action=\"org.freedesktop.hal.storage.mount-removable\">\n<return result=\"yes\"\/>\n<\/match>\n\1/" + sed -i /mnt/etc/dbus-1/system.d/hal.conf \ + -e "s/^\([^d]*\)deny\(.*Volume.*\)/\1allow\2/" rllinker "dbus" 17 20 rllinker "hal" 18 15 if [ ! -e /mnt/etc/init.d/policykit ] ; then |