prevent kernel panic if variables are invalid
This commit is contained in:
parent
12a3429f36
commit
129ad17b36
6
init
6
init
@ -77,9 +77,9 @@ parse_cmdline()
|
|||||||
rootflags=*) root_opts="${line##*=}" ;;
|
rootflags=*) root_opts="${line##*=}" ;;
|
||||||
ro | rw) rorw="-o $line" ;;
|
ro | rw) rorw="-o $line" ;;
|
||||||
--) init_args="${cmdline##*--}"; break ;;
|
--) init_args="${cmdline##*--}"; break ;;
|
||||||
*=*) export "$line" ;;
|
*=*) command export "$line" ;;
|
||||||
*) export "${line}=1" ;;
|
*) command export "${line}=1" ;;
|
||||||
esac; done
|
esac; done 2> /dev/null || :
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_devmgr()
|
setup_devmgr()
|
||||||
|
Loading…
Reference in New Issue
Block a user