diff options
author | Dirk von Suchodoletz | 2009-05-28 23:04:33 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-05-28 23:04:33 +0200 |
commit | 6a11137ad53a15990c1ae60c6adcb4b75463bc6a (patch) | |
tree | cc6b430d5acd2bebddf0a97725ca2cb3da641d83 /boot-env/preboot/uclib-rootfs/init | |
parent | typo (diff) | |
download | core-6a11137ad53a15990c1ae60c6adcb4b75463bc6a.tar.gz core-6a11137ad53a15990c1ae60c6adcb4b75463bc6a.tar.xz core-6a11137ad53a15990c1ae60c6adcb4b75463bc6a.zip |
Next steps onto the new WAN boot configuration environment ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2897 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'boot-env/preboot/uclib-rootfs/init')
-rwxr-xr-x | boot-env/preboot/uclib-rootfs/init | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/boot-env/preboot/uclib-rootfs/init b/boot-env/preboot/uclib-rootfs/init index a194e5e7..7336e3ae 100755 --- a/boot-env/preboot/uclib-rootfs/init +++ b/boot-env/preboot/uclib-rootfs/init @@ -86,7 +86,9 @@ for mod in ${ramfs_nicmods} \ fi done -# read kernel commandline +# set the default for boot type and read kernel commandline (for this and +# other options) +export TYPE=fastboot read KCMDLINE </proc/cmdline # read the system wide machine-setup and then the kernel commandline for opts in ${KCMDLINE} ; do @@ -99,6 +101,9 @@ for opts in ${KCMDLINE} ; do # WLAN ssid (most probably passed that way, unused yet ...) ssid=*) SSID=${opts#SSID=};; + # Boot type (fastboot)/directkiosk/cfgkiosk/slxconfig + type=*) + TYPE=${opts#type=};; esac done |