From 177fe09cfbc4025e9dd3c1a0aebc1af3f959a3a7 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Tue, 30 Jan 2007 00:08:34 +0000 Subject: cmd == "" git-svn-id: http://svn.openslx.org/svn/openslx/trunk@652 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/init | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'initramfs') diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init index e273438c..53b6b931 100755 --- a/initramfs/initrd-stuff/init +++ b/initramfs/initrd-stuff/init @@ -455,6 +455,10 @@ if [ -n "${UNIONFS}" ] ; then fi # run ldconfig if not switched off via kernel command line ldcfg + # runlevel directories should contain no links + for i in ${D_RCDIRS} ${D_INITBOOTD} ; do + rm -f /mnt/etc/$i/* 2>/dev/null + done elif [ -z "$COWLOOP" ] ; then echo "Using bind mounts to ramdisk for rw access" mount -n -t tmpfs -o size=${TMPFSSIZE} ramfs ${RWDIR} -- cgit v1.2.3-55-g7522