mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 00:59:53 +07:00
arc: fix reset loader
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
d6a5443593
commit
a4da6be93b
@ -1618,14 +1618,6 @@ function resetLoader() {
|
|||||||
rm -f "${ORI_ZIMAGE_FILE}" "${ORI_RDGZ_FILE}" "${MOD_ZIMAGE_FILE}" "${MOD_RDGZ_FILE}" >/dev/null
|
rm -f "${ORI_ZIMAGE_FILE}" "${ORI_RDGZ_FILE}" "${MOD_ZIMAGE_FILE}" "${MOD_RDGZ_FILE}" >/dev/null
|
||||||
fi
|
fi
|
||||||
[ -d "${UNTAR_PAT_PATH}" ] && rm -rf "${UNTAR_PAT_PATH}" >/dev/null
|
[ -d "${UNTAR_PAT_PATH}" ] && rm -rf "${UNTAR_PAT_PATH}" >/dev/null
|
||||||
[ -d "${SYSTEM_PATH}" ] && rm -rf "${SYSTEM_PATH}" >/dev/null
|
|
||||||
[ -d "${ADDONS_PATH}" ] && rm -rf "${ADDONS_PATH}" >/dev/null
|
|
||||||
[ -d "${MODULES_PATH}" ] && rm -rf "${MODULES_PATH}" >/dev/null
|
|
||||||
[ -d "${MODEL_CONFIG_PATH}" ] && rm -rf "${MODEL_CONFIG_PATH}" >/dev/null
|
|
||||||
[ -d "${PATCH_PATH}" ] && rm -rf "${PATCH_PATH}" >/dev/null
|
|
||||||
[ -d "${LKMS_PATH}" ] && rm -rf "${LKMS_PATH}" >/dev/null
|
|
||||||
[ -d "${CUSTOM_PATH}" ] && rm -rf "${CUSTOM_PATH}" >/dev/null
|
|
||||||
[ -d "${USER_UP_PATH}" ] && rm -rf "${USER_UP_PATH}" >/dev/null
|
|
||||||
[ -f "${USER_CONFIG_FILE}" ] && rm -f "${USER_CONFIG_FILE}" >/dev/null
|
[ -f "${USER_CONFIG_FILE}" ] && rm -f "${USER_CONFIG_FILE}" >/dev/null
|
||||||
dialog --backtitle "$(backtitle)" --title "Reset Loader" --aspect 18 \
|
dialog --backtitle "$(backtitle)" --title "Reset Loader" --aspect 18 \
|
||||||
--yesno "Reset successful.\nReboot required!" 0 0
|
--yesno "Reset successful.\nReboot required!" 0 0
|
||||||
|
Loading…
Reference in New Issue
Block a user