Typo in symlink
This commit is contained in:
parent
05669ea4cd
commit
874e9d0871
3
setup.sh
3
setup.sh
@ -240,6 +240,7 @@ echo.Cyan "Setup Klipper Python Virtual Environment"
|
|||||||
cd $ROOT_DIR/$PRINTER_NAME
|
cd $ROOT_DIR/$PRINTER_NAME
|
||||||
/usr/bin/virtualenv klippy-env
|
/usr/bin/virtualenv klippy-env
|
||||||
$ROOT_DIR/$PRINTER_NAME/klippy-env/bin/pip install -r $ROOT_DIR/$PRINTER_NAME/klipper/scripts/klippy-requirements.txt
|
$ROOT_DIR/$PRINTER_NAME/klippy-env/bin/pip install -r $ROOT_DIR/$PRINTER_NAME/klipper/scripts/klippy-requirements.txt
|
||||||
|
touch $ROOT_DIR/$PRINTER_NAME/printer_data/comms/klippy.sock
|
||||||
|
|
||||||
# Setup moonraker python env
|
# Setup moonraker python env
|
||||||
echo.Cyan "Setup Moonraker Python Virtual Environment"
|
echo.Cyan "Setup Moonraker Python Virtual Environment"
|
||||||
@ -293,6 +294,8 @@ done
|
|||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
$HOME/$PRINTER_NAME/moonraker/scripts/set-policykit-rules.sh -z
|
$HOME/$PRINTER_NAME/moonraker/scripts/set-policykit-rules.sh -z
|
||||||
|
ln -s $HOME/$PRINTER_NAME/mainsail-config/client.cfg $HOME/$PRINTER_NAME/printer_data/config/mainsail.cfg
|
||||||
|
sudo systemctl restart $PRINTER_NAME-klipper.service
|
||||||
sudo systemctl restart $PRINTER_NAME-moonraker.service
|
sudo systemctl restart $PRINTER_NAME-moonraker.service
|
||||||
echo.BoldCyan "${PRINTER_NAME} is setup with moonraker on port ${NEW_PORT}"
|
echo.BoldCyan "${PRINTER_NAME} is setup with moonraker on port ${NEW_PORT}"
|
||||||
sudo nginx -t
|
sudo nginx -t
|
||||||
|
Loading…
Reference in New Issue
Block a user