installing script
This commit is contained in:
parent
53cccb2d03
commit
8197ab11ca
|
@ -0,0 +1,36 @@
|
|||
#!/bin/bash
|
||||
|
||||
################################################################################
|
||||
# _____ ______ _____ ______ _____ #
|
||||
# / ___| | ___ \ |_ _| | ___ \ |_ _| #
|
||||
# \ \__ | |_/ / | | | |_/ / | | #
|
||||
# \___ \ | __/ | | | _ | | | #
|
||||
# ____/ / | | _| |_ | | \ \ _| |_ #
|
||||
# \____/ \_| \___/ \_| \_| \___/ #
|
||||
# #
|
||||
######################## Installer ########################
|
||||
|
||||
# Maintainer: ahmed.elsafy@spirirobotics.com
|
||||
# Last Modified: 05/17/2021
|
||||
# Copyright: Spiri Holdings, Inc.
|
||||
# License:
|
||||
|
||||
|
||||
cd sbin
|
||||
sudo cp * /usr/sbin/
|
||||
cd ..
|
||||
|
||||
cd service
|
||||
sudo cp * /etc/systemd/system/
|
||||
cd ..
|
||||
|
||||
mkdir -p /etc/ros/
|
||||
cp env.sh /etc/ros/
|
||||
|
||||
sudo systemctl enable --now roslaunch
|
||||
sudo systemctl enable --now ros_radio_listener
|
||||
sudo systemctl enable --now roscore
|
||||
sudo systemctl enable --now apriltag
|
||||
sudo systemctl enable --now camlaunch
|
||||
sudo systemctl enable --now gpudisplaunch.service
|
||||
|
Loading…
Reference in New Issue