mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-16 20:14:32 +05:00
fix: fix #50
This commit is contained in:
@@ -297,7 +297,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
read_printer_cfg(){
|
read_printer_cfg(){
|
||||||
KIAUH_CFG=$(echo $PRINTER_CFG | sed 's/printer/kiauh/')
|
KIAUH_CFG="$(dirname $PRINTER_CFG)/kiauh.cfg"
|
||||||
[ ! -f $KIAUH_CFG ] && KIAUH_CFG_FOUND="false" || KIAUH_CFG_FOUND="true"
|
[ ! -f $KIAUH_CFG ] && KIAUH_CFG_FOUND="false" || KIAUH_CFG_FOUND="true"
|
||||||
if [ -f $PRINTER_CFG ]; then
|
if [ -f $PRINTER_CFG ]; then
|
||||||
if [ "$1" = "moonraker" ]; then
|
if [ "$1" = "moonraker" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user