From b679f7f08b910ed2a55dfd65f270e286d32b8d27 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Sat, 18 Oct 2008 16:54:01 +0000 Subject: * finaly fixed ubuntu hotplug stuff git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2363 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/distro-specs/ubuntu/functions-default | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'initramfs/distro-specs/ubuntu/functions-default') 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>\)/\n\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 -- cgit v1.2.3-55-g7522