summaryrefslogtreecommitdiffstats
path: root/src/initramfs/distro-specs/ubuntu/functions-11.10
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-11-23 10:43:28 +0100
committerSebastian Schmelzer2011-11-23 10:43:28 +0100
commit9e2cdc4a5a0da7091e6a56e40a5b6753f1ce634d (patch)
tree82cee5fc47bbb8aba34bda93245699791383b281 /src/initramfs/distro-specs/ubuntu/functions-11.10
parentFIX for failed to read mtab (diff)
parentFurther (irrelevant) adaptations ... (diff)
downloadcore-9e2cdc4a5a0da7091e6a56e40a5b6753f1ce634d.tar.gz
core-9e2cdc4a5a0da7091e6a56e40a5b6753f1ce634d.tar.xz
core-9e2cdc4a5a0da7091e6a56e40a5b6753f1ce634d.zip
Merge branch 'master' of openslx.org:openslx/core
Diffstat (limited to 'src/initramfs/distro-specs/ubuntu/functions-11.10')
-rw-r--r--src/initramfs/distro-specs/ubuntu/functions-11.1028
1 files changed, 28 insertions, 0 deletions
diff --git a/src/initramfs/distro-specs/ubuntu/functions-11.10 b/src/initramfs/distro-specs/ubuntu/functions-11.10
new file mode 100644
index 00000000..e4c7dfd2
--- /dev/null
+++ b/src/initramfs/distro-specs/ubuntu/functions-11.10
@@ -0,0 +1,28 @@
+# Copyright (c) 2011 - OpenSLX GmbH
+#
+# This program/file is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found under http://openslx.org
+#
+# Configuration script for Ubuntu 11.10 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)
+
+# 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
+}