mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 00:29:53 +07:00
arc: cleanup cmdline after model switch
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
bb89a21b17
commit
ed099257e7
@ -248,6 +248,8 @@ function arcModel() {
|
||||
rm -f "${PART1_PATH}/grub_cksum.syno" "${PART1_PATH}/GRUB_VER" "${PART2_PATH}/"* >/dev/null 2>&1 || true
|
||||
fi
|
||||
fi
|
||||
# Reset Cmdline
|
||||
writeConfigKey "cmdline" "{}" "${USER_CONFIG_FILE}"
|
||||
ARCPATCH="$(readConfigKey "arc.patch" "${USER_CONFIG_FILE}")"
|
||||
BUILDDONE="$(readConfigKey "arc.builddone" "${USER_CONFIG_FILE}")"
|
||||
CONFDONE="$(readConfigKey "arc.confdone" "${USER_CONFIG_FILE}")"
|
||||
|
Loading…
Reference in New Issue
Block a user