From 8591bc199a61cd214829a76256e027014b788a7c Mon Sep 17 00:00:00 2001 From: dominikn Date: Thu, 31 Aug 2023 16:40:13 +0200 Subject: [PATCH] fix wrong path --- robots/rosbot_2_pro/custom_config.sh | 4 ++-- robots/rosbot_2r/custom_config.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/robots/rosbot_2_pro/custom_config.sh b/robots/rosbot_2_pro/custom_config.sh index ee3ccf6..733330e 100755 --- a/robots/rosbot_2_pro/custom_config.sh +++ b/robots/rosbot_2_pro/custom_config.sh @@ -4,8 +4,8 @@ echo "enable reset MCU service" -cp ../_rosbot_2_reset_mcu/reset-mcu.py /usr/local/sbin/reset-mcu.py -cp ../_rosbot_2_reset_mcu/reset-mcu.service /etc/systemd/system/reset-mcu.service +cp /etc/husarion/robot_configs/_rosbot_2_reset_mcu/reset-mcu.py /usr/local/sbin/reset-mcu.py +cp /etc/husarion/robot_configs/_rosbot_2_reset_mcu/reset-mcu.service /etc/systemd/system/reset-mcu.service systemctl enable reset-mcu.service systemctl start reset-mcu.service diff --git a/robots/rosbot_2r/custom_config.sh b/robots/rosbot_2r/custom_config.sh index ee3ccf6..733330e 100755 --- a/robots/rosbot_2r/custom_config.sh +++ b/robots/rosbot_2r/custom_config.sh @@ -4,8 +4,8 @@ echo "enable reset MCU service" -cp ../_rosbot_2_reset_mcu/reset-mcu.py /usr/local/sbin/reset-mcu.py -cp ../_rosbot_2_reset_mcu/reset-mcu.service /etc/systemd/system/reset-mcu.service +cp /etc/husarion/robot_configs/_rosbot_2_reset_mcu/reset-mcu.py /usr/local/sbin/reset-mcu.py +cp /etc/husarion/robot_configs/_rosbot_2_reset_mcu/reset-mcu.service /etc/systemd/system/reset-mcu.service systemctl enable reset-mcu.service systemctl start reset-mcu.service