[util-yaml] add set_oem_user
This commit is contained in:
parent
caf60645ce
commit
fe9bd56896
2 changed files with 5 additions and 1 deletions
|
@ -367,7 +367,10 @@ write_settings_conf(){
|
|||
echo " - initcpio" >> "$conf" && write_initcpio_conf
|
||||
if ${oem_used}; then
|
||||
msg2 "Skipping to set users module."
|
||||
echo " - oemuser" >> "$conf"
|
||||
if ${set_oem_user}; then
|
||||
msg2 "Setup OEM user."
|
||||
echo " - oemuser" >> "$conf"
|
||||
fi
|
||||
else
|
||||
echo " - users" >> "$conf"
|
||||
fi
|
||||
|
|
|
@ -449,6 +449,7 @@ load_profile_config(){
|
|||
[[ -z ${mhwd_used} ]] && mhwd_used='true'
|
||||
|
||||
[[ -z ${oem_used} ]] && oem_used='false'
|
||||
[[ -z ${set_oem_user ]] && set_oem_user='true'
|
||||
|
||||
[[ -z ${chrootcfg} ]] && chrootcfg='false'
|
||||
|
||||
|
|
Loading…
Reference in a new issue