diff options
-rw-r--r-- | src/initramfs/distro-specs/suse/functions-11.4 | 13 |
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 () { |