From 343d0f3d0efaf486ddc676130786d95fc06f682c Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Mon, 3 Jul 2006 20:27:23 +0000 Subject: Enhanced debugging settings (see DebugLevel), some fixes for the use with busybox, ... git-svn-id: http://svn.openslx.org/svn/openslx/ld4@267 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/bin/servconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'initrd/initrd-stuff/bin/servconfig') diff --git a/initrd/initrd-stuff/bin/servconfig b/initrd/initrd-stuff/bin/servconfig index 92ee2cd8..44f8be90 100755 --- a/initrd/initrd-stuff/bin/servconfig +++ b/initrd/initrd-stuff/bin/servconfig @@ -4,7 +4,7 @@ # for linux diskless clients (executed within initial # ramdisk) # -# Author(s): Dirk von Suchodoletz , 27-06-2006 +# Author(s): Dirk von Suchodoletz , 03-07-2006 # Michael Janczyk, 31-05-2006 # Lars Mueller, 23-06-2006 # Oliver Tappe, 23-06-2006 @@ -28,7 +28,8 @@ . /mnt/etc/${D_SYSCONFDIR}/logfile # heavy debugging output in level 3 and above ... -[ $DEBUGLEVEL -gt 3 ] && set -x +[ $DEBUGLEVEL -gt 3 -a $DEBUGLEVEL -lt 10 -o $DEBUGLEVEL -eq 12 ] && \ + set -x ####################################################################### # copy distro specific scripts, programs, libraries and configs @@ -267,7 +268,7 @@ if [ "x$vmware" != "x" ] && [ "x$vmware" != "xno" ] ; then #fi # generate a runlevel script d_mkrlscript init vmware-prep "Starting preparation of vmware environment" - sed "s,^#.*,,;/^$/d;s,^,\\t," /etc/vmware-prep >> \ + sed "s,^#.*,,;/^$/d;s,^, ," /etc/vmware-prep >> \ /mnt/etc/${D_INITDIR}/vmware-prep d_mkrlscript close vmware-prep "" chmod u+x /mnt/etc/${D_INITDIR}/vmware-prep -- cgit v1.2.3-55-g7522