installSocketCAN.sh aktualisiert
This commit is contained in:
@@ -26,12 +26,14 @@ mkdir -p build && cd build
|
|||||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
make
|
make
|
||||||
|
|
||||||
|
sudo cp libicsneo-socketcan-daemon /usr/sbin/
|
||||||
|
|
||||||
sudo echo << EOF > /etc/systemd/system/icsscand.service
|
sudo echo << EOF > /etc/systemd/system/icsscand.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Intrepid Device Scanner
|
Description=Intrepid Device Scanner
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/home/sven/icsscand/build/libicsneo-socketcan-daemon
|
ExecStart=/usr/sbin/libicsneo-socketcan-daemon
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user