From 8c9b3625d760c8d06e0964cf23d433d4c78f9ebc Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 1 Jun 2011 11:54:10 +0200 Subject: Fix for Ubuntu 11.04 ... --- src/initramfs/distro-specs/ubuntu/functions-11.04 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src/initramfs/distro-specs') diff --git a/src/initramfs/distro-specs/ubuntu/functions-11.04 b/src/initramfs/distro-specs/ubuntu/functions-11.04 index b3ade327..7c4e4444 100644 --- a/src/initramfs/distro-specs/ubuntu/functions-11.04 +++ b/src/initramfs/distro-specs/ubuntu/functions-11.04 @@ -8,9 +8,21 @@ # # General information about OpenSLX can be found under http://openslx.org # -# Configuration script for Ubuntu 10.10 configure OpenSLX Linux stateless +# Configuration script for Ubuntu 11.04 configure OpenSLX Linux stateless # clients (merged in stage2 with ubuntu/functions-default - and loaded within # initial ramfs - stage3) It may overwrite settings from the default config # file (/etc/functions) -# no changes from default (as this is default at the moment) +# configure hal, dbus, policykitd and services like that +config_dreshal () { +if [ "x$start_dreshal" = "xyes" ]; then + testmkd /mnt/var/lib/dbus + testmkd /mnt/var/lib/misc + 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* + for dir in 10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d ; do + testmkd /mnt/var/lib/polkit-1/localauthority/${dir} + done +fi +} -- cgit v1.2.3-55-g7522