@@ -35,7 +35,7 @@ if "__file__" in dir():
if "/" in fn:
fn = fn.split("/")[-1]
- sys.stdout.write("\x1b]2;"+str(fn)+"\x07") # terminal title
+ sys.stdout.write("\x1b]2;"+str(fn)+" Beta 22.01"+"\x07") # terminal title
else:
sys.stdout.write("\x1b]2;"+str("__file__")+"\x07") # terminal title
@@ -1,4 +1,4 @@
#!/usr/bin/bash
-sudo sh /home/pi/ASP/netns.sh 24
-sudo ip netns exec blue224 su pi -c 'screen -d -m -S ASP_IN sh /home/pi/ASP/map14_in_to0.sh'
+sudo sh /opt/LibreLight/ASP/netns.sh 24
+sudo ip netns exec blue224 su user -c 'screen -d -m -S ASP_IN sh /opt/LibreLight/ASP/map14_in_to0.sh'
@@ -1,11 +1,6 @@
echo "sleep 5"
#sleep 5
+path="/opt/LibreLight"
netns=$(ip netns identify $$)
-
-python3 /home/pi/ASP/ArtNetProcessor.py --recive 10. --sendto 2.255.255.255 netns=$netns
-if [ $? != 0 ]; then
- python3 /home/user/ASP/ArtNetProcessor.py --recive 10. --sendto 2.255.255.255 netns=$netns
- #python3 /home/micha/ASP/ArtNetProcessor.py --recive 10. --sendto 2.255.255.255 netns=$netns
-fi
+python3 $path/ASP/ArtNetProcessor.py --recive 10. --sendto 2.255.255.255 netns=$netns