mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 00:59:53 +07:00
arc: optimize changes
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
d9650981f7
commit
e72a8586cf
@ -502,9 +502,9 @@ function arcSettings() {
|
|||||||
PAT_HASH="$(readConfigKey "pathash" "${USER_CONFIG_FILE}")"
|
PAT_HASH="$(readConfigKey "pathash" "${USER_CONFIG_FILE}")"
|
||||||
DT="$(readConfigKey "platforms.${PLATFORM}.dt" "${P_FILE}")"
|
DT="$(readConfigKey "platforms.${PLATFORM}.dt" "${P_FILE}")"
|
||||||
# Get Network Config for Loader
|
# Get Network Config for Loader
|
||||||
|
STEP="network"
|
||||||
dialog --backtitle "$(backtitlep)" --colors --title "Network Config" \
|
dialog --backtitle "$(backtitlep)" --colors --title "Network Config" \
|
||||||
--infobox "Generating Network Config..." 3 40
|
--infobox "Generating Network Config..." 3 40
|
||||||
STEP="network"
|
|
||||||
sleep 2
|
sleep 2
|
||||||
getnet
|
getnet
|
||||||
[ $? -ne 0 ] && return 1
|
[ $? -ne 0 ] && return 1
|
||||||
@ -516,9 +516,9 @@ function arcSettings() {
|
|||||||
fi
|
fi
|
||||||
# Select Portmap for Loader
|
# Select Portmap for Loader
|
||||||
if [ "${DT}" == "false" ] && [ $(lspci -d ::106 | wc -l) -gt 0 ]; then
|
if [ "${DT}" == "false" ] && [ $(lspci -d ::106 | wc -l) -gt 0 ]; then
|
||||||
|
STEP="storagemap"
|
||||||
dialog --backtitle "$(backtitlep)" --colors --title "Storage Map" \
|
dialog --backtitle "$(backtitlep)" --colors --title "Storage Map" \
|
||||||
--infobox "Generating Storage Map..." 3 40
|
--infobox "Generating Storage Map..." 3 40
|
||||||
STEP="storagemap"
|
|
||||||
sleep 2
|
sleep 2
|
||||||
getmapSelection
|
getmapSelection
|
||||||
[ $? -ne 0 ] && return 1
|
[ $? -ne 0 ] && return 1
|
||||||
@ -526,9 +526,9 @@ function arcSettings() {
|
|||||||
# Check for Custom Build
|
# Check for Custom Build
|
||||||
if [ "${ARCMODE}" == "config" ]; then
|
if [ "${ARCMODE}" == "config" ]; then
|
||||||
# Select Addons
|
# Select Addons
|
||||||
|
STEP="addons"
|
||||||
dialog --backtitle "$(backtitlep)" --colors --title "DSM Addons" \
|
dialog --backtitle "$(backtitlep)" --colors --title "DSM Addons" \
|
||||||
--infobox "Loading Addons Table..." 3 40
|
--infobox "Loading Addons Table..." 3 40
|
||||||
STEP="addons"
|
|
||||||
addonSelection
|
addonSelection
|
||||||
[ $? -ne 0 ] && return 1
|
[ $? -ne 0 ] && return 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user