feat: add fake list-unit output

this will trick moonraker into thinking that there are actual klipper and moonraker services available
This commit is contained in:
th33xitus 2022-02-10 21:31:55 +01:00
parent 35e08e623f
commit 322c77e8a6
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,10 @@
#!/bin/sh #!/bin/bash
if [ "$1" = "list-units" ]; then
echo "klipper.service loaded active running Klipper Dummy Service"
echo "moonraker.service loaded active running Moonraker Dummy Service"
exit 0
fi
if [ "$2" = "klipper" ]; then if [ "$2" = "klipper" ]; then
sudo /usr/bin/supervisorctl "$1" simulavr "$2" sudo /usr/bin/supervisorctl "$1" simulavr "$2"