[Debconf-video-commits] r246 - fai-config/files/home/dvswitch/.Xsession

holger at alioth.debian.org holger at alioth.debian.org
Sun Aug 10 05:16:46 UTC 2008


Author: holger
Date: 2008-08-10 05:16:45 +0000 (Sun, 10 Aug 2008)
New Revision: 246

Modified:
   fai-config/files/home/dvswitch/.Xsession/scratchy
   fai-config/files/home/dvswitch/.Xsession/selma
Log:
# kill old sinks in case there are some left


Modified: fai-config/files/home/dvswitch/.Xsession/scratchy
===================================================================
--- fai-config/files/home/dvswitch/.Xsession/scratchy	2008-08-10 04:44:45 UTC (rev 245)
+++ fai-config/files/home/dvswitch/.Xsession/scratchy	2008-08-10 05:16:45 UTC (rev 246)
@@ -7,6 +7,8 @@
 sleep 1
 dvsource-file -l /home/dvswitch/loop-debconf8.dv &
 xterm -e "dc-start-sink file:barney" &
+# kill old sinks in case there are some left
+xterm -e ssh daffy 'ps fax | grep "bash -c dvsink-command -h scratchy -p 4321 -- ffmpeg2theora"|grep -v grep|cut -d " " -f1  | xargs -n1 kill -9' 
 xterm -e "dc-start-sink icecast:daffy" &
 
 # last command

Modified: fai-config/files/home/dvswitch/.Xsession/selma
===================================================================
--- fai-config/files/home/dvswitch/.Xsession/selma	2008-08-10 04:44:45 UTC (rev 245)
+++ fai-config/files/home/dvswitch/.Xsession/selma	2008-08-10 05:16:45 UTC (rev 246)
@@ -7,6 +7,8 @@
 sleep 1
 dvsource-file -l /home/dvswitch/loop-debconf8.dv &
 xterm -e "dc-start-sink file:barney" &
+# kill old sinks in case there are some left
+xterm -e ssh daffy 'ps fax | grep "bash -c dvsink-command -h scratchy -p 4321 -- ffmpeg2theora"|grep -v grep|cut -d " " -f1  | xargs -n1 kill -9'
 xterm -e "dc-start-sink icecast:daffy" &
 
 # last command




More information about the Debconf-video-commits mailing list