From 42e2ecbcd83d20ef8eacede97cced340e35835f9 Mon Sep 17 00:00:00 2001 From: Sven Bohner Date: Sun, 11 Feb 2024 21:04:50 +0000 Subject: [PATCH] installSocketCAN.sh aktualisiert --- installSocketCAN.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installSocketCAN.sh b/installSocketCAN.sh index 5c2ed4b..1ecb2ca 100755 --- a/installSocketCAN.sh +++ b/installSocketCAN.sh @@ -28,7 +28,7 @@ make sudo cp libicsneo-socketcan-daemon /usr/sbin/ -sudo echo << EOF > /etc/systemd/system/icsscand.service +sudo echo << EOF > icsscand.service [Unit] Description=Intrepid Device Scanner @@ -39,6 +39,8 @@ ExecStart=/usr/sbin/libicsneo-socketcan-daemon WantedBy=multi-user.target EOF +sudo cp icsscand.service /etc/systemd/system/ + sudo systemctl enable icsscand.service sudo systemctl start icsscand.service