Difference between revisions of "Talk:Firewire Priming"

From MythTV Official Wiki
Jump to: navigation, search
(Note was made unnecessary by v1.02)
Line 1: Line 1:
 
== separate kill_test.sh file unnecessary==
 
== separate kill_test.sh file unnecessary==
  
You do not really need a separate kill_test.sh file. Instead, you can use a bash function in the script and call it when you need it.
+
: Ok, fixed. [[User:Mrsdonovan|Mrsdonovan]] 17:17, 11 October 2006 (UTC)
 
 
Add this to the top of the script (before you call the function for the first time) to create the function:
 
 
 
    kill_test () {
 
        sleep 1
 
        killall test-mpeg2
 
    }
 
 
 
 
 
Then call it like this:
 
 
 
    kill_test &
 
 
 
 
 
This will make the directions a little less complex.
 
 
 
: The reason I use a seperate script running in the background is that test-mpeg2 blocks.  i.e. putting "killall test-mpeg2" after the test-mpeg2 line will never execute because it is waiting for test-mpeg2 to stop, which it never does. If your solution will execute both the "kill_test" function and continue on to run test-mpeg2, then great, modify the script, test it and update the page.  Cheers, [[User:Mrsdonovan|Mrsdonovan]] 19:35, 28 September 2006 (UTC)
 

Revision as of 17:17, 11 October 2006

separate kill_test.sh file unnecessary

Ok, fixed. Mrsdonovan 17:17, 11 October 2006 (UTC)