diff options
Diffstat (limited to 'boot-env/preboot/init')
| -rwxr-xr-x | boot-env/preboot/init | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/boot-env/preboot/init b/boot-env/preboot/init index fa40630d..7b908ea5 100755 --- a/boot-env/preboot/init +++ b/boot-env/preboot/init @@ -129,9 +129,9 @@ ip route add default via $router # at this point a little selection script could be downloaded, which lets the # user choose what kind of SLX client he wants to get echo "Fetching preboot interactive part and configuration from the net ..." -wget -q -c -O $boot_uri/bootloader/${prebootid}.env /tmp/ +wget -q -c -O /tmp/preboot.env $boot_uri/bootloader/${preboot_id}.env mkdir /preboot -tar -xzf /tmp/${prebootid}.env -C /preboot +tar -xzf /tmp/preboot.env -C /preboot # start a debug shell if needed, else set quiet kernel parameter if [ "${DEBUGLEVEL}" -gt 0 ] ; then /bin/ash @@ -140,7 +140,8 @@ else echo -e "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" fi # run the preboot interactive part which finally will execute kexec -exec /preboot/preboot.sh +cd /preboot +exec ./preboot.sh # we will never return from that one ... |
