scripts: Use the roscore.service file from clover distribution

This commit is contained in:
Alexey Rogachevskiy
2020-06-08 17:22:23 +03:00
parent c3a1f46c59
commit 7615cc126c
3 changed files with 2 additions and 16 deletions

View File

@@ -71,6 +71,8 @@ cd ${HOME}/catkin_ws && catkin_make
echo "source /home/clever/catkin_ws/devel/setup.bash" >> ~/.bashrc
echo "--- Enabling roscore service"
sed -i "s/pi/${USER}/g" ${HOME}/catkin_ws/src/clover/builder/assets/roscore.service
sudo cp ${HOME}/catkin_ws/src/clover/builder/assets/roscore.service /etc/systemd/system
sudo systemctl enable roscore.service
echo "--- Installing QGroundControl"