diff options
Diffstat (limited to 'src/initramfs/distro-specs/suse')
-rw-r--r-- | src/initramfs/distro-specs/suse/functions-11.4 | 11 | ||||
-rw-r--r-- | src/initramfs/distro-specs/suse/functions-default | 3 |
2 files changed, 3 insertions, 11 deletions
diff --git a/src/initramfs/distro-specs/suse/functions-11.4 b/src/initramfs/distro-specs/suse/functions-11.4 index f169ca5f..6db8de1e 100644 --- a/src/initramfs/distro-specs/suse/functions-11.4 +++ b/src/initramfs/distro-specs/suse/functions-11.4 @@ -24,17 +24,6 @@ # # 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 -rm -rf /mnt/etc/init.d/.depend.* -touch /mnt/var/log/btmp -touch /mnt/var/log/lastlog -} - # start portmapper (needed at least for nfs and nis services) config_portmap () { # portmap is provided via rpcbind in suse 11.1,2,3,4 diff --git a/src/initramfs/distro-specs/suse/functions-default b/src/initramfs/distro-specs/suse/functions-default index aa9fa61b..c5b29fcb 100644 --- a/src/initramfs/distro-specs/suse/functions-default +++ b/src/initramfs/distro-specs/suse/functions-default @@ -39,6 +39,9 @@ config_distro () { 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 +rm -rf /mnt/etc/init.d/.depend.* +touch /mnt/var/log/btmp +touch /mnt/var/log/lastlog # link the additional key setup (notbook special keys) grep -q -E "otebook" /etc/hwinfo.bios && \ |