[Debconf-video-commits] r798 - in fai-config/files: etc/dvswitchrc etc/hosts home/dvswitch/.Xsession

Holger Levsen holger at alioth.debian.org
Thu Jan 31 15:03:08 UTC 2013


Author: holger
Date: 2013-01-31 15:03:07 +0000 (Thu, 31 Jan 2013)
New Revision: 798

Added:
   fai-config/files/etc/dvswitchrc/dvswitch1
   fai-config/files/etc/dvswitchrc/dvswitch2
   fai-config/files/etc/dvswitchrc/dvswitch3
   fai-config/files/etc/dvswitchrc/dvswitch4
   fai-config/files/etc/dvswitchrc/dvswitch5
   fai-config/files/home/dvswitch/.Xsession/dvswitch1
   fai-config/files/home/dvswitch/.Xsession/dvswitch2
   fai-config/files/home/dvswitch/.Xsession/dvswitch3
   fai-config/files/home/dvswitch/.Xsession/dvswitch4
   fai-config/files/home/dvswitch/.Xsession/dvswitch5
Removed:
   fai-config/files/etc/dvswitchrc/r3dvswitch
   fai-config/files/etc/dvswitchrc/r4dvswitch
   fai-config/files/etc/dvswitchrc/r5dvswitch
Modified:
   fai-config/files/etc/hosts/FOSDEM
Log:
configure dvswitch+xsessions for fosdem

Added: fai-config/files/etc/dvswitchrc/dvswitch1
===================================================================
--- fai-config/files/etc/dvswitchrc/dvswitch1	                        (rev 0)
+++ fai-config/files/etc/dvswitchrc/dvswitch1	2013-01-31 15:03:07 UTC (rev 798)
@@ -0,0 +1,3 @@
+MIXER_HOST=dvswitch1
+MIXER_PORT=4321
+VIDEO_STANDARD=pal

Added: fai-config/files/etc/dvswitchrc/dvswitch2
===================================================================
--- fai-config/files/etc/dvswitchrc/dvswitch2	                        (rev 0)
+++ fai-config/files/etc/dvswitchrc/dvswitch2	2013-01-31 15:03:07 UTC (rev 798)
@@ -0,0 +1,3 @@
+MIXER_HOST=dvswitch2
+MIXER_PORT=4321
+VIDEO_STANDARD=pal

Added: fai-config/files/etc/dvswitchrc/dvswitch3
===================================================================
--- fai-config/files/etc/dvswitchrc/dvswitch3	                        (rev 0)
+++ fai-config/files/etc/dvswitchrc/dvswitch3	2013-01-31 15:03:07 UTC (rev 798)
@@ -0,0 +1,3 @@
+MIXER_HOST=dvswitch3
+MIXER_PORT=4321
+VIDEO_STANDARD=pal

Added: fai-config/files/etc/dvswitchrc/dvswitch4
===================================================================
--- fai-config/files/etc/dvswitchrc/dvswitch4	                        (rev 0)
+++ fai-config/files/etc/dvswitchrc/dvswitch4	2013-01-31 15:03:07 UTC (rev 798)
@@ -0,0 +1,3 @@
+MIXER_HOST=dvswitch4
+MIXER_PORT=4321
+VIDEO_STANDARD=pal

Added: fai-config/files/etc/dvswitchrc/dvswitch5
===================================================================
--- fai-config/files/etc/dvswitchrc/dvswitch5	                        (rev 0)
+++ fai-config/files/etc/dvswitchrc/dvswitch5	2013-01-31 15:03:07 UTC (rev 798)
@@ -0,0 +1,3 @@
+MIXER_HOST=dvswitch5
+MIXER_PORT=4321
+VIDEO_STANDARD=pal

Deleted: fai-config/files/etc/dvswitchrc/r3dvswitch
===================================================================
--- fai-config/files/etc/dvswitchrc/r3dvswitch	2013-01-31 14:48:14 UTC (rev 797)
+++ fai-config/files/etc/dvswitchrc/r3dvswitch	2013-01-31 15:03:07 UTC (rev 798)
@@ -1,3 +0,0 @@
-MIXER_HOST=r3dvswitch
-MIXER_PORT=4321
-VIDEO_STANDARD=pal

Deleted: fai-config/files/etc/dvswitchrc/r4dvswitch
===================================================================
--- fai-config/files/etc/dvswitchrc/r4dvswitch	2013-01-31 14:48:14 UTC (rev 797)
+++ fai-config/files/etc/dvswitchrc/r4dvswitch	2013-01-31 15:03:07 UTC (rev 798)
@@ -1,3 +0,0 @@
-MIXER_HOST=r4dvswitch
-MIXER_PORT=4321
-VIDEO_STANDARD=pal

Deleted: fai-config/files/etc/dvswitchrc/r5dvswitch
===================================================================
--- fai-config/files/etc/dvswitchrc/r5dvswitch	2013-01-31 14:48:14 UTC (rev 797)
+++ fai-config/files/etc/dvswitchrc/r5dvswitch	2013-01-31 15:03:07 UTC (rev 798)
@@ -1,3 +0,0 @@
-MIXER_HOST=r5dvswitch
-MIXER_PORT=4321
-VIDEO_STANDARD=pal

Modified: fai-config/files/etc/hosts/FOSDEM
===================================================================
--- fai-config/files/etc/hosts/FOSDEM	2013-01-31 14:48:14 UTC (rev 797)
+++ fai-config/files/etc/hosts/FOSDEM	2013-01-31 15:03:07 UTC (rev 798)
@@ -24,7 +24,7 @@
 
 # infrastructure
 151.216.112.1  gateway gw gw..video.fosdem.org gateway.video.fosdem.org
-151.216.113.1  server server.video.fosdem.org
+151.216.113.1  server server.video.fosdem.org encoder1 encoder1.video.fosdem.org
 
 # The following lines are desirable for IPv6 capable hosts
 ::1 ip6-localhost ip6-loopback

Added: fai-config/files/home/dvswitch/.Xsession/dvswitch1
===================================================================
--- fai-config/files/home/dvswitch/.Xsession/dvswitch1	                        (rev 0)
+++ fai-config/files/home/dvswitch/.Xsession/dvswitch1	2013-01-31 15:03:07 UTC (rev 798)
@@ -0,0 +1,30 @@
+#
+# manual edits will be lost
+# use svn://svn.debian.org/svn/debconf-video/fai-config/files/home/dvswitch/.Xsession/$hostname
+#
+
+export DISPLAY=":0.0"
+
+setxkbmap -option terminate:ctrl_alt_bksp &
+
+# disable screensaver
+xset -dpms
+xset s off
+
+# kill old sinks in case there are some left
+xterm -e ssh encoder1 'ps fax | grep "bash -c dvsink-command -h encoder1 -p 4321 -- ffmpeg2theora"|grep -v grep | sed -e "s/^ *//" | cut -d " " -f1  | xargs -n 1 kill -9' 
+xterm -e ssh twinpact1 'ps fax | grep "dvgrab -noavc -"|grep -v grep | sed -e "s/^ *//" |cut -d " " -f1  | xargs -n 1 kill -9' 
+
+# setup dvswitch
+xterm -e dvswitch &
+sleep 1
+xterm -e "dc-start-source firewire:dvswitch1" &
+sleep 3
+xterm -e "dc-start-source firewire:twinpact1" &
+sleep 3
+dvsource-file -l /home/dvswitch/fosdem.dv &
+xterm -e "dc-start-sink file:twinpact1" &
+#xterm -e "while true ; do dc-start-sink icecast:encoder1 ; done" &
+
+# last command
+xfce4-session

Added: fai-config/files/home/dvswitch/.Xsession/dvswitch2
===================================================================
--- fai-config/files/home/dvswitch/.Xsession/dvswitch2	                        (rev 0)
+++ fai-config/files/home/dvswitch/.Xsession/dvswitch2	2013-01-31 15:03:07 UTC (rev 798)
@@ -0,0 +1,30 @@
+#
+# manual edits will be lost
+# use svn://svn.debian.org/svn/debconf-video/fai-config/files/home/dvswitch/.Xsession/$hostname
+#
+
+export DISPLAY=":0.0"
+
+setxkbmap -option terminate:ctrl_alt_bksp &
+
+# disable screensaver
+xset -dpms
+xset s off
+
+# kill old sinks in case there are some left
+xterm -e ssh encoder1 'ps fax | grep "bash -c dvsink-command -h encoder1 -p 4321 -- ffmpeg2theora"|grep -v grep | sed -e "s/^ *//" | cut -d " " -f1  | xargs -n 1 kill -9' 
+xterm -e ssh twinpact2 'ps fax | grep "dvgrab -noavc -"|grep -v grep | sed -e "s/^ *//" |cut -d " " -f1  | xargs -n 1 kill -9' 
+
+# setup dvswitch
+xterm -e dvswitch &
+sleep 1
+xterm -e "dc-start-source firewire:dvswitch2" &
+sleep 3
+xterm -e "dc-start-source firewire:twinpact2" &
+sleep 3
+dvsource-file -l /home/dvswitch/fosdem.dv &
+xterm -e "dc-start-sink file:twinpact2" &
+#xterm -e "while true ; do dc-start-sink icecast:encoder1 ; done" &
+
+# last command
+xfce4-session

Added: fai-config/files/home/dvswitch/.Xsession/dvswitch3
===================================================================
--- fai-config/files/home/dvswitch/.Xsession/dvswitch3	                        (rev 0)
+++ fai-config/files/home/dvswitch/.Xsession/dvswitch3	2013-01-31 15:03:07 UTC (rev 798)
@@ -0,0 +1,30 @@
+#
+# manual edits will be lost
+# use svn://svn.debian.org/svn/debconf-video/fai-config/files/home/dvswitch/.Xsession/$hostname
+#
+
+export DISPLAY=":0.0"
+
+setxkbmap -option terminate:ctrl_alt_bksp &
+
+# disable screensaver
+xset -dpms
+xset s off
+
+# kill old sinks in case there are some left
+xterm -e ssh encoder1 'ps fax | grep "bash -c dvsink-command -h encoder1 -p 4321 -- ffmpeg2theora"|grep -v grep | sed -e "s/^ *//" | cut -d " " -f1  | xargs -n 1 kill -9' 
+xterm -e ssh twinpact3 'ps fax | grep "dvgrab -noavc -"|grep -v grep | sed -e "s/^ *//" |cut -d " " -f1  | xargs -n 1 kill -9' 
+
+# setup dvswitch
+xterm -e dvswitch &
+sleep 1
+xterm -e "dc-start-source firewire:dvswitch3" &
+sleep 3
+xterm -e "dc-start-source firewire:twinpact3" &
+sleep 3
+dvsource-file -l /home/dvswitch/fosdem.dv &
+xterm -e "dc-start-sink file:twinpact3" &
+#xterm -e "while true ; do dc-start-sink icecast:encoder1 ; done" &
+
+# last command
+xfce4-session

Added: fai-config/files/home/dvswitch/.Xsession/dvswitch4
===================================================================
--- fai-config/files/home/dvswitch/.Xsession/dvswitch4	                        (rev 0)
+++ fai-config/files/home/dvswitch/.Xsession/dvswitch4	2013-01-31 15:03:07 UTC (rev 798)
@@ -0,0 +1,30 @@
+#
+# manual edits will be lost
+# use svn://svn.debian.org/svn/debconf-video/fai-config/files/home/dvswitch/.Xsession/$hostname
+#
+
+export DISPLAY=":0.0"
+
+setxkbmap -option terminate:ctrl_alt_bksp &
+
+# disable screensaver
+xset -dpms
+xset s off
+
+# kill old sinks in case there are some left
+xterm -e ssh encoder1 'ps fax | grep "bash -c dvsink-command -h encoder1 -p 4321 -- ffmpeg2theora"|grep -v grep | sed -e "s/^ *//" | cut -d " " -f1  | xargs -n 1 kill -9' 
+xterm -e ssh twinpact4 'ps fax | grep "dvgrab -noavc -"|grep -v grep | sed -e "s/^ *//" |cut -d " " -f1  | xargs -n 1 kill -9' 
+
+# setup dvswitch
+xterm -e dvswitch &
+sleep 1
+xterm -e "dc-start-source firewire:dvswitch4" &
+sleep 3
+xterm -e "dc-start-source firewire:twinpact4" &
+sleep 3
+dvsource-file -l /home/dvswitch/fosdem.dv &
+xterm -e "dc-start-sink file:twinpact4" &
+#xterm -e "while true ; do dc-start-sink icecast:encoder1 ; done" &
+
+# last command
+xfce4-session

Added: fai-config/files/home/dvswitch/.Xsession/dvswitch5
===================================================================
--- fai-config/files/home/dvswitch/.Xsession/dvswitch5	                        (rev 0)
+++ fai-config/files/home/dvswitch/.Xsession/dvswitch5	2013-01-31 15:03:07 UTC (rev 798)
@@ -0,0 +1,30 @@
+#
+# manual edits will be lost
+# use svn://svn.debian.org/svn/debconf-video/fai-config/files/home/dvswitch/.Xsession/$hostname
+#
+
+export DISPLAY=":0.0"
+
+setxkbmap -option terminate:ctrl_alt_bksp &
+
+# disable screensaver
+xset -dpms
+xset s off
+
+# kill old sinks in case there are some left
+xterm -e ssh encoder1 'ps fax | grep "bash -c dvsink-command -h encoder1 -p 4321 -- ffmpeg2theora"|grep -v grep | sed -e "s/^ *//" | cut -d " " -f1  | xargs -n 1 kill -9' 
+xterm -e ssh twinpact5 'ps fax | grep "dvgrab -noavc -"|grep -v grep | sed -e "s/^ *//" |cut -d " " -f1  | xargs -n 1 kill -9' 
+
+# setup dvswitch
+xterm -e dvswitch &
+sleep 1
+xterm -e "dc-start-source firewire:dvswitch5" &
+sleep 3
+xterm -e "dc-start-source firewire:twinpact5" &
+sleep 3
+dvsource-file -l /home/dvswitch/fosdem.dv &
+xterm -e "dc-start-sink file:twinpact5" &
+#xterm -e "while true ; do dc-start-sink icecast:encoder1 ; done" &
+
+# last command
+xfce4-session




More information about the Debconf-video-commits mailing list