boot/functions: cleanup
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
@@ -4,7 +4,6 @@ set -e
|
||||
[[ -z "${ARC_PATH}" || ! -d "${ARC_PATH}/include" ]] && ARC_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" 2>/dev/null && pwd)"
|
||||
|
||||
. ${ARC_PATH}/include/functions.sh
|
||||
. ${ARC_PATH}/include/update.sh
|
||||
|
||||
# Get Loader Disk Bus
|
||||
BUS=$(getBus "${LOADER_DISK}")
|
||||
|
||||
@@ -449,6 +449,8 @@ function livepatch() {
|
||||
if [ "${PVALID}" == "false" ]; then
|
||||
OFFLINE="$(readConfigKey "arc.offline" "${USER_CONFIG_FILE}")"
|
||||
if [ "${OFFLINE}" == "false" ]; then
|
||||
# Load update functions
|
||||
. ${ARC_PATH}/include/update.sh
|
||||
# Update Patches
|
||||
echo -e "Updating Patches..."
|
||||
updatePatches
|
||||
|
||||
Reference in New Issue
Block a user