docs: LinuxMCU doc & script (#2956)

Signed-off-by: Lucio Tarantino <lucio.tarantino@gmail.com>
This commit is contained in:
Lucio Tarantino 2020-06-13 02:32:12 +02:00 committed by GitHub
parent 519c3ad5ee
commit 35bbd989e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 278 additions and 1 deletions

View file

@ -15,6 +15,12 @@ sync
# Restart (if system install script present)
if [ -f /etc/init.d/klipper_pru ]; then
echo "Attempting host MCU restart..."
echo "Attempting host PRU restart..."
service klipper_pru restart
fi
# Restart (if system install script present)
if [ -f /etc/init.d/klipper_mcu ]; then
echo "Attempting host MCU restart..."
service klipper_mcu restart
fi