start_ASP.sh 268 B

12345678910
  1. echo "sleep 5"
  2. #sleep 5
  3. netns=$(ip netns identify $$)
  4. python3 /home/pi/ASP/ArtNetProcessor.py --recive 10. --sendto 2.255.255.255 netns=$netns
  5. if [ $? != 0 ]; then
  6. python3 /home/user/ASP/ArtNetProcessor.py --recive 10. --sendto 2.255.255.255 netns=$netns
  7. fi