mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
busybox-initramfs: force reading $disk and $boot variable via /proc/cmdline
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b14b8966ce
commit
5a2f6b4e9f
@ -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
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user