diff options
author | Dirk von Suchodoletz | 2011-05-27 14:36:03 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2011-05-27 14:36:03 +0200 |
commit | f88073d02baf2470002796d026bb6ac986d37139 (patch) | |
tree | 794022ee341f660608d3bb0b9433c0fb32ec3abd /src/initramfs | |
parent | ... (diff) | |
download | core-f88073d02baf2470002796d026bb6ac986d37139.tar.gz core-f88073d02baf2470002796d026bb6ac986d37139.tar.xz core-f88073d02baf2470002796d026bb6ac986d37139.zip |
Some fix for SuSE 11.4 ...
Diffstat (limited to 'src/initramfs')
-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 && \ |