Пути klippy поменяны на /home/pi/.klippy
This commit is contained in:
parent
a906e3d809
commit
379024f224
|
@ -109,7 +109,14 @@ file:
|
||||||
contents: |
|
contents: |
|
||||||
KLIPPY_USER=pi
|
KLIPPY_USER=pi
|
||||||
KLIPPY_EXEC=/home/pi/klippy-env/bin/python
|
KLIPPY_EXEC=/home/pi/klippy-env/bin/python
|
||||||
KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/printer.cfg -I /tmp/klippy -a /tmp/klippy.sock -l /tmp/klippy.log"
|
KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/printer.cfg -I /home/pi/.klippy/pty -a /home/pi/.klippy/sock -l /home/pi/.klippy/log"
|
||||||
|
|
||||||
|
/home/pi/.klippy:
|
||||||
|
exists: true
|
||||||
|
filetype: directory
|
||||||
|
owner: pi
|
||||||
|
group: pi
|
||||||
|
mode: "0755"
|
||||||
|
|
||||||
/home/pi/3dscreen:
|
/home/pi/3dscreen:
|
||||||
exists: true
|
exists: true
|
||||||
|
|
3
install
3
install
|
@ -49,6 +49,9 @@ mkdir -p /home/pi/printer_hw /home/pi/printer_soft /home/pi/printer
|
||||||
chown -R 0:0 /home/pi/printer_hw /home/pi/printer_soft
|
chown -R 0:0 /home/pi/printer_hw /home/pi/printer_soft
|
||||||
chown pi:pi /home/pi/printer /home/pi/printer_data/variables.cfg
|
chown pi:pi /home/pi/printer /home/pi/printer_data/variables.cfg
|
||||||
|
|
||||||
|
mkdir -p /home/pi/.klippy
|
||||||
|
chown pi:pi /home/pi/.klippy
|
||||||
|
|
||||||
install -m440 -o 0 -g 0 $ConfigsHome/etc/sudoers.d/010_pi-nopasswd /etc/sudoers.d/010_pi-nopasswd
|
install -m440 -o 0 -g 0 $ConfigsHome/etc/sudoers.d/010_pi-nopasswd /etc/sudoers.d/010_pi-nopasswd
|
||||||
|
|
||||||
[ -e /home/pi/.octoprint/plugins/OctoprintKlipperPlugin ] && {
|
[ -e /home/pi/.octoprint/plugins/OctoprintKlipperPlugin ] && {
|
||||||
|
|
Loading…
Reference in New Issue