busybox-initramfs: force reading $disk and $boot variable via /proc/cmdline

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-04-12 15:01:57 +02:00
parent b14b8966ce
commit 5a2f6b4e9f

View File

@ -46,6 +46,12 @@ NBD_DEVS="0"
# parse command line arguments
for arg in $(cat /proc/cmdline); do
case $arg in
boot=*)
boot="${arg#*=}"
;;
disk=*)
disk="${arg#*=}"
;;
debugging)
DEBUG=yes
;;