refactor(klipper): use global const for printer_data path

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
th33xitus
2022-10-16 11:25:36 +02:00
parent f703748120
commit 5204358e41

View File

@@ -300,7 +300,7 @@ function configure_klipper_service() {
printer="/tmp/printer"
uds="/tmp/klippy_uds"
service="${SYSTEMD}/klipper.service"
env_file="${HOME}/printer_data/systemd/klipper.env"
env_file="${PRINTER_DATA}/systemd/klipper.env"
### write single instance service
write_klipper_service "" "${cfg}" "${log}" "${printer}" "${uds}" "${service}" "${env_file}"