diff options
author | Dirk von Suchodoletz | 2009-05-22 20:08:58 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-05-22 20:08:58 +0200 |
commit | 350c3a2bced4c5d13bb1323c5ee0427c4dc5499a (patch) | |
tree | afbf77cd8e920c30f015c7562b87a9d165db3e4e /boot-env/preboot/uclib-rootfs/init | |
parent | add apache config; minor path changes (diff) | |
download | core-350c3a2bced4c5d13bb1323c5ee0427c4dc5499a.tar.gz core-350c3a2bced4c5d13bb1323c5ee0427c4dc5499a.tar.xz core-350c3a2bced4c5d13bb1323c5ee0427c4dc5499a.zip |
Some minor enhancements for PreBoot ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2866 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'boot-env/preboot/uclib-rootfs/init')
-rwxr-xr-x | boot-env/preboot/uclib-rootfs/init | 10 |
1 files changed, 7 insertions, 3 deletions
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 |