start.sh 1023 B

1234567891011121314151617181920212223242526272829303132333435
  1. echo "\e[42mBOOTING LIBRELIGHT CONSOLE\e[0m"
  2. #killall ibus-daemon # ibus slowsdown tkinter/Editor
  3. killall ibus-daemon # ibus slowsdown tkinter/Editor
  4. screen -ls
  5. set -e
  6. screen -XS ASP quit | echo ""
  7. screen -XS console quit | echo ""
  8. screen -XS Editor quit | echo ""
  9. #killall screen | echo ""
  10. #killall SCREEN | echo ""
  11. path="/opt/LibreLight"
  12. cd "$path"
  13. echo "\e[42mSTARTING ASP\e[0m"
  14. screen -d -m -S ASP sh $path/ASP/start_ASP.sh
  15. cd $path/Xdesk/
  16. screen -d -m -S console python3 $path/Xdesk/console.py
  17. echo "\e[42mSTARTING DMX MONITOR\e[0m"
  18. sleep 3;
  19. #xterm -e 'screen -r DMX'
  20. xfce4-terminal -e 'screen -r DMX' --hide-menubar --zoom=-1.5 --geometry=90x35+800+520
  21. echo "\e[42mSTARTING GUI\e[0m"
  22. sleep 2
  23. screen -d -m -S Editor python3 $path/Xdesk/LibreLightDesk.py
  24. screen -ls
  25. #sleep 3;
  26. #sudo /opt/netns/create 18
  27. #/opt/netns/exec --id=18 --cmd="xterm -e screen python3 /opt/LibreLight/ASP/monitor/oszi_grid.py" &
  28. #/opt/netns/exec --id=18 --cmd="xterm -e screen sh /opt/LibreLight/ASP/start.sh"
  29. echo "BOOT END"
  30. sleep 3;