From 350c3a2bced4c5d13bb1323c5ee0427c4dc5499a Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 22 May 2009 18:08:58 +0000 Subject: Some minor enhancements for PreBoot ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2866 95ad53e4-c205-0410-b2fa-d234c58c8868 --- boot-env/preboot/uclib-rootfs/init | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'boot-env/preboot/uclib-rootfs/init') diff --git a/boot-env/preboot/uclib-rootfs/init b/boot-env/preboot/uclib-rootfs/init index cff0d86f..192b88bd 100755 --- a/boot-env/preboot/uclib-rootfs/init +++ b/boot-env/preboot/uclib-rootfs/init @@ -142,6 +142,7 @@ mkdir /preboot tar -xzf /tmp/preboot.env -C /preboot # start a debug shell if needed, else set quiet kernel parameter if [ "${DEBUGLEVEL}" -gt 0 ] ; then + echo "Starting shell, leaving it would continue init." /bin/ash else # no debugging output for stage3 run @@ -149,7 +150,10 @@ else fi # run the preboot interactive part which finally will execute kexec cd /preboot -exec ./preboot.sh || sh -# we will never return from that one ... - +exec ./preboot.sh +# we should never return from that one ... +echo "The execution of the main preboot environment failed. Please check" +echo "network access of your box. Is $boot_uri reachable!?" +# ping -c 1 $boot_uri +sleep 20 && echo "o" > /proc/sysrq-trigger -- cgit v1.2.3-55-g7522