summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/ubuntu/functions-default
diff options
context:
space:
mode:
authorSebastian2010-08-22 19:56:51 +0200
committerSebastian2010-08-22 19:56:51 +0200
commit82163647179665ce4a06cf772fd994f9d412ea90 (patch)
tree2c06d2ccb46e50b9182704abfbcab9a182b55b41 /initramfs/distro-specs/ubuntu/functions-default
parentfix bug, kdm didn't start if spashy wasn't running (diff)
parentMerge branch 'master' of openslx.org:openslx/core (diff)
downloadcore-82163647179665ce4a06cf772fd994f9d412ea90.tar.gz
core-82163647179665ce4a06cf772fd994f9d412ea90.tar.xz
core-82163647179665ce4a06cf772fd994f9d412ea90.zip
Merge branch 'master' of openslx.org:openslx/core
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-default')
-rw-r--r--initramfs/distro-specs/ubuntu/functions-default7
1 files changed, 0 insertions, 7 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default
index 1a863966..0836f4c0 100644
--- a/initramfs/distro-specs/ubuntu/functions-default
+++ b/initramfs/distro-specs/ubuntu/functions-default
@@ -200,16 +200,9 @@ if [ "x$start_dreshal" = "xyes" ]; then
testmkd /mnt/var/lib/dbus
testmkd /mnt/var/lib/misc
testmkd /mnt/var/cache/hald
- touch /mnt/var/lib/misc/PolicyKit.reload
- chown root:polkituser /mnt/var/lib/misc/PolicyKit.reload
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>\)/ @@new@@\n\1/" \
- -e "s/@@new@@/<match action=\"@@action@@\">\n@@return@@\n <\/match>/" \
- -e "s/@@action@@/org.freedesktop.hal.storage.mount-removable/" \
- -e "s/@@return@@/ <return result=\"yes\"\/>/"
sed -i /mnt/etc/dbus-1/system.d/hal.conf \
-e "s/^\([^d]*\)deny\(.*Volume.*\)/\1allow\2/"
for dir in 10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d ; do