diff options
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 |