scripts: Update flash-linux.sh to restart new systemd service (#6049)
This is an update to the script that looks for the new systemd service and restarts it if appropriate. Signed-off-by: James Hartley <james@hartleyns.com>
This commit is contained in:
parent
0a9a0eac3d
commit
761b350c80
|
@ -24,3 +24,8 @@ if [ -f /etc/init.d/klipper_mcu ]; then
|
|||
echo "Attempting host MCU restart..."
|
||||
service klipper_mcu restart
|
||||
fi
|
||||
|
||||
if [ -f /etc/systemd/system/klipper-mcu.service ]; then
|
||||
echo "Attempting host MCU restart..."
|
||||
systemctl restart klipper-mcu
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue