summaryrefslogtreecommitdiffstats
path: root/boot-env/preboot/preboot.sh
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-06-03 21:13:40 +0200
committerDirk von Suchodoletz2009-06-03 21:13:40 +0200
commitc9f349e0d98007f114766d756709d0a0cd8d7450 (patch)
tree29545f0f2439b8266c2528d468e1645818b6cb25 /boot-env/preboot/preboot.sh
parentRedirection of kernel (debug) output ... (see [[DebugLevel]] in the project w... (diff)
downloadcore-c9f349e0d98007f114766d756709d0a0cd8d7450.tar.gz
core-c9f349e0d98007f114766d756709d0a0cd8d7450.tar.xz
core-c9f349e0d98007f114766d756709d0a0cd8d7450.zip
Minor updates for PreBoot ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2927 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'boot-env/preboot/preboot.sh')
-rwxr-xr-xboot-env/preboot/preboot.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot-env/preboot/preboot.sh b/boot-env/preboot/preboot.sh
index f682f067..3eac7a08 100755
--- a/boot-env/preboot/preboot.sh
+++ b/boot-env/preboot/preboot.sh
@@ -19,8 +19,8 @@
client=$(echo 01-$macaddr|sed "s/:/-/g")
# check if already a configuration is available to decide if user interaction
-# is required
-# wget -O /tmp/cfg-error $boot_uri/${client}
+# is required (path is to be fixed)
+wget -O /tmp/cfg-error $boot_uri/genconfig/${client}
# Switch here for several boot TYPE=fastboot/directkiosk/cfgkiosk/slxconfig
# fastboot - no interaction use system from client config
@@ -81,4 +81,4 @@ wget -q -O /tmp/initramfs $boot_uri/$initramfs
dialog --infobox "Booting OpenSLX client $label ..." 3 65
kexec -l /tmp/kernel --initrd=/tmp/initramfs \
--append="$append file=$boot_uri/${preboot_id}/client-config/${sysname}/${client}.tgz $quiet ip=$ip:$siaddr:$router:$subnet:$dnssrv $debug" 2>/dev/null
-kexec -e
+kexec -e >/dev/null 2>&1