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##*=}" ;;
|
||||
ro | rw) rorw="-o $line" ;;
|
||||
--) init_args="${cmdline##*--}"; break ;;
|
||||
*=*) export "$line" ;;
|
||||
*) export "${line}=1" ;;
|
||||
esac; done
|
||||
*=*) command export "$line" ;;
|
||||
*) command export "${line}=1" ;;
|
||||
esac; done 2> /dev/null || :
|
||||
}
|
||||
|
||||
setup_devmgr()
|
||||
|
Loading…
Reference in New Issue
Block a user