mirror of
https://gitlab.com/prism7/archery.git
synced 2026-04-28 17:37:36 +02:00
Change: Selecting/Enabling printer & scanner support now defaults to 'No'
Change: Edit a few prompts for better aesthetics
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Amelia Installer
|
# Amelia Installer
|
||||||
# Source: https://gitlab.com/prism7/archery
|
# Source: https://gitlab.com/prism7/archery
|
||||||
# Version: 9.8.2
|
# Version: 9.8.3
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
@@ -2520,15 +2520,15 @@ ${magenta}###${nc}--------------------------------${magenta}[ ${bwhite}Printer &
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
> Enable Printer & Scanner support ? [Y/n] "
|
> Enable Printer & Scanner support ? [y/N] "
|
||||||
BLUE "
|
BLUE "
|
||||||
|
|
||||||
|
|
||||||
Enter [Y/n]: "
|
Enter [y/N]: "
|
||||||
read -r -p "
|
read -r -p "
|
||||||
==> " printer
|
==> " printer
|
||||||
|
|
||||||
printer="${printer:-y}"
|
printer="${printer:-n}"
|
||||||
printer="${printer,,}"
|
printer="${printer,,}"
|
||||||
|
|
||||||
case "${printer}" in
|
case "${printer}" in
|
||||||
@@ -3595,11 +3595,13 @@ ${magenta}###${nc}---------------------------------${magenta}[ ${bwhite}Automati
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
sleep 0.2
|
sleep 0.2
|
||||||
NC "
|
CYAN "
|
||||||
------------------------------------------------------------
|
|
||||||
${cyan}>>> ${nc}Apply ${yellowl}'Smart Partitioning' ${nc}on disk ${bwhite}'${instl_drive}'${nc} ? ${cyan}[Y/n]${nc}
|
>>> ${nc}Apply ${yellowl}'Smart Partitioning' ${nc}on disk ${bwhite}'${instl_drive}'${nc} ? ${cyan}[Y/n] "
|
||||||
------------------------------------------------------------
|
BLUE "
|
||||||
"
|
|
||||||
|
|
||||||
|
Enter [Y/n]: "
|
||||||
read -r -p "
|
read -r -p "
|
||||||
==> " smartpart
|
==> " smartpart
|
||||||
|
|
||||||
@@ -6552,10 +6554,11 @@ FSTAB
|
|||||||
set_wireless_regdom() {
|
set_wireless_regdom() {
|
||||||
|
|
||||||
local stage_prompt="Wireless Regulatory Domain"
|
local stage_prompt="Wireless Regulatory Domain"
|
||||||
|
if [[ "${swapmode}" != "2" ]]; then
|
||||||
|
line2
|
||||||
|
fi
|
||||||
sleep 0.2
|
sleep 0.2
|
||||||
NC "
|
NC "
|
||||||
|
|
||||||
|
|
||||||
${magenta}###${nc}--------------------------${magenta}[ ${bwhite}Setting Up Wireless Regulatory Domain${nc} ${magenta}]${nc}--------------------------${magenta}###
|
${magenta}###${nc}--------------------------${magenta}[ ${bwhite}Setting Up Wireless Regulatory Domain${nc} ${magenta}]${nc}--------------------------${magenta}###
|
||||||
"
|
"
|
||||||
if sed -i "/^#WIRELESS_REGDOM=\"${REGDOM}\"/s/^#//" /mnt/etc/conf.d/wireless-regdom ; then
|
if sed -i "/^#WIRELESS_REGDOM=\"${REGDOM}\"/s/^#//" /mnt/etc/conf.d/wireless-regdom ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user