[configs/releng] Fix script= expansion
Fix FS#40049 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
6836b770a2
commit
96499e4fd7
@ -5,7 +5,7 @@ script_cmdline ()
|
|||||||
local param
|
local param
|
||||||
for param in $(< /proc/cmdline); do
|
for param in $(< /proc/cmdline); do
|
||||||
case "${param}" in
|
case "${param}" in
|
||||||
script=*) echo "${param##*=}" ; return 0 ;;
|
script=*) echo "${param#*=}" ; return 0 ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user