aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/flash-linux.sh
diff options
context:
space:
mode:
authorLucio Tarantino <lucio.tarantino@gmail.com>2020-06-13 02:32:12 +0200
committerGitHub <noreply@github.com>2020-06-12 20:32:12 -0400
commit35bbd989e4383193b8ef4cfef0b262831e611f75 (patch)
tree2c66e0821e9f51f2a127beb05d042ac6280e4000 /scripts/flash-linux.sh
parent519c3ad5ee0cc84b41d091f721fc6fb006c83209 (diff)
downloadkutter-35bbd989e4383193b8ef4cfef0b262831e611f75.tar.gz
kutter-35bbd989e4383193b8ef4cfef0b262831e611f75.tar.xz
kutter-35bbd989e4383193b8ef4cfef0b262831e611f75.zip
docs: LinuxMCU doc & script (#2956)
Signed-off-by: Lucio Tarantino <lucio.tarantino@gmail.com>
Diffstat (limited to 'scripts/flash-linux.sh')
-rwxr-xr-xscripts/flash-linux.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/flash-linux.sh b/scripts/flash-linux.sh
index ea2e3070..2da91804 100755
--- a/scripts/flash-linux.sh
+++ b/scripts/flash-linux.sh
@@ -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