Browse Source

add: player in ip-netns namespace not working

micha 2 years ago
parent
commit
690496c717
1 changed files with 13 additions and 0 deletions
  1. 13 0
      media/start_player.sh

+ 13 - 0
media/start_player.sh

@@ -0,0 +1,13 @@
+#!/usr/bin/bash 
+#sleep 3;
+
+exit # no sound !!  if in netns
+
+sudo /opt/netns/create 19
+CMD="ip a"  
+/opt/netns/exec --id=19 --cmd="$CMD" 
+CMD="python3 /opt/LibreLight/Xdesk/media/player.py"  
+/opt/netns/exec --id=19 --cmd="xterm -e screen $CMD" &
+
+
+