修改安装过程无需手动确认
This commit is contained in:
parent
d75a3aeb01
commit
6afda4f82c
@ -21,7 +21,7 @@ set -Ee
|
||||
ask_reboot() {
|
||||
local reply
|
||||
while true; do
|
||||
read -erp "Reboot NOW? [y/N]: " -i "N" reply
|
||||
reply="N"
|
||||
case "${reply}" in
|
||||
[yY]*)
|
||||
msg "Going to reboot in 5 seconds!"
|
||||
@ -46,7 +46,7 @@ ask_update_entry() {
|
||||
run_add_update_entry="0"
|
||||
msg "\n"
|
||||
while true; do
|
||||
read -erp "Do you want to add 'update manager' entry to your moonraker.conf? [Y/n]: " -i "Y" reply
|
||||
reply="Y"
|
||||
case "${reply}" in
|
||||
[yY]*)
|
||||
msg "Trying to add 'update manager' entry to moonraker.conf ..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user