summaryrefslogtreecommitdiffstats
path: root/src/initramfs
diff options
context:
space:
mode:
authorDirk von Suchodoletz2011-05-25 23:19:45 +0200
committerDirk von Suchodoletz2011-05-25 23:19:45 +0200
commit0661f43aefefab37852a69e835105adaacb86a58 (patch)
tree23a4d569cbf2d017decda90bf6f3f59a9d597e87 /src/initramfs
parentSmall changes/fixes. (diff)
downloadcore-0661f43aefefab37852a69e835105adaacb86a58.tar.gz
core-0661f43aefefab37852a69e835105adaacb86a58.tar.xz
core-0661f43aefefab37852a69e835105adaacb86a58.zip
In new SuSE 11.4 the /var/log/btmp is needed to exist.
Diffstat (limited to 'src/initramfs')
-rw-r--r--src/initramfs/distro-specs/suse/functions-11.413
1 files changed, 11 insertions, 2 deletions
diff --git a/src/initramfs/distro-specs/suse/functions-11.4 b/src/initramfs/distro-specs/suse/functions-11.4
index 94269cc8..6335bb69 100644
--- a/src/initramfs/distro-specs/suse/functions-11.4
+++ b/src/initramfs/distro-specs/suse/functions-11.4
@@ -8,7 +8,7 @@
#
# General information about OpenSLX can be found under http://openslx.org
#
-# configuration script for OpenSuSE 11.2 to configure linux stateless clients
+# configuration script for OpenSuSE 11.4 to configure linux stateless clients
# (included by init, hwautocfg, servconfig within InitialRamFS after
# inclusion of the main functions file). This file is the main base for the
# several SuSE distro versions
@@ -22,7 +22,16 @@
# D_DIRINDXS - directories in client filesystem which should be present
# anyhow
#
-# TODO: id. copy of functions-11.2 to be adapted to 11.3
+# TODO: id. copy of functions-11.2 to be adapted to 11.4
+
+# distro specific function called from servconfig script
+config_distro () {
+# clean the runlevel directories which will be populated by the stage3 setup
+for dir in rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d boot.d ; do
+ rm -rf /mnt/etc/init.d/${dir}/*
+done
+touch /mnt/var/log/btmp
+}
# start portmapper (needed at least for nfs and nis services)
config_portmap () {