mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +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
|
# parse command line arguments
|
||||||
for arg in $(cat /proc/cmdline); do
|
for arg in $(cat /proc/cmdline); do
|
||||||
case $arg in
|
case $arg in
|
||||||
|
boot=*)
|
||||||
|
boot="${arg#*=}"
|
||||||
|
;;
|
||||||
|
disk=*)
|
||||||
|
disk="${arg#*=}"
|
||||||
|
;;
|
||||||
debugging)
|
debugging)
|
||||||
DEBUG=yes
|
DEBUG=yes
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user