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:
parent
35e08e623f
commit
322c77e8a6
|
|
@ -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
|
||||
sudo /usr/bin/supervisorctl "$1" simulavr "$2"
|
||||
|
|
|
|||
Loading…
Reference in New Issue