32 |
# do not add any printers if the name is empty - warn the user |
# do not add any printers if the name is empty - warn the user |
33 |
if [[ -z ${cfg_printers_printer_name} ]] |
if [[ -z ${cfg_printers_printer_name} ]] |
34 |
then |
then |
35 |
echo -e "${COLRED}No printer_name given in config of printer '${i}' with port '${cfg_printers_port}'. Not added!${COLDEFAULT}" |
rc_echo "${COLRED}No printer_name given in config of printer '${i}' with port '${cfg_printers_port}'. Not added!${COLDEFAULT}" |
36 |
continue |
continue |
37 |
fi |
fi |
38 |
|
|