mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07: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:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user