add confirmation messages

This commit is contained in:
th33xitus
2020-07-26 12:36:05 +02:00
parent 22888f5756
commit e5e135c68b

View File

@@ -70,7 +70,7 @@ check_vsdcard_section(){
ok_msg "Virtual sdcard already configured!" ok_msg "Virtual sdcard already configured!"
else else
status_msg "No virtual sdcard entry found." status_msg "No virtual sdcard entry found."
status_msg "Configuring virtual sdcard..." ok_msg "Virtual sdcard entry added to printer.cfg!"
# append the following lines to printer.cfg # append the following lines to printer.cfg
cat <<VSDCARD >> $PRINTER_CFG cat <<VSDCARD >> $PRINTER_CFG
@@ -92,7 +92,7 @@ check_api_section(){
ok_msg "API Server already configured" ok_msg "API Server already configured"
else else
status_msg "No API Server entry found." status_msg "No API Server entry found."
status_msg "Configuring API server..." ok_msg "API server entry added to printer.cfg!"
# append the following lines to printer.cfg # append the following lines to printer.cfg
cat <<API >> $PRINTER_CFG cat <<API >> $PRINTER_CFG