diff options
author | Dirk von Suchodoletz | 2011-06-01 11:54:10 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2011-06-01 11:54:10 +0200 |
commit | 8c9b3625d760c8d06e0964cf23d433d4c78f9ebc (patch) | |
tree | d48960ca99ac6c12dcf623f5b8833f43447a34ce | |
parent | remove aufs error on startup .. (diff) | |
download | core-8c9b3625d760c8d06e0964cf23d433d4c78f9ebc.tar.gz core-8c9b3625d760c8d06e0964cf23d433d4c78f9ebc.tar.xz core-8c9b3625d760c8d06e0964cf23d433d4c78f9ebc.zip |
Fix for Ubuntu 11.04 ...
-rw-r--r-- | src/initramfs/distro-specs/ubuntu/functions-11.04 | 16 |
1 files changed, 14 insertions, 2 deletions
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 +} |