diff options
author | krebs <krebs@UTART> | 2011-05-17 23:12:58 +0200 |
---|---|---|
committer | krebs <krebs@UTART> | 2011-05-17 23:12:58 +0200 |
commit | 0aafbf8fd8a4bda29f0f9bb2346b38efa6333adb (patch) | |
tree | 39f24a0ad392fcb687ad0d66a589abe9466d737a /modules/bigeye | |
parent | 9217fe6187b86a7bbf3406737c5fdfa2265d591a (diff) |
bigeyed: find device every blink
Diffstat (limited to 'modules/bigeye')
-rwxr-xr-x | modules/bigeye/bigeyed | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/bigeye/bigeyed b/modules/bigeye/bigeyed index 92ae9cf4..beb96b7c 100755 --- a/modules/bigeye/bigeyed +++ b/modules/bigeye/bigeyed @@ -33,12 +33,11 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA== EOF -device="/dev/`cd /sys/class/video4linux && ls | head -n 1`" - hostname="`hostname`" blink() { date="`date --rfc-3339=s`" echo $date + device="/dev/`cd /sys/class/video4linux && ls | head -n 1`" mplayer -frames 1 -quiet \ -vo jpeg \ -tv driver=v4l2:device=$device:width=640:height=480 \ |