Skip to content

Commit

Permalink
Die once trace has run once
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Mar 9, 2013
1 parent 159d9de commit d055ca9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sender/cellsim-runner.sh
@@ -1,3 +1,3 @@
#!/bin/bash

nohup /home/ubuntu/multisend/sender/cellsim /home/ubuntu/verizon_lte_uplink_slice.ms /home/ubuntu/verizon_lte_downlink_slice.ms 00:00:00:00:00:02 0 LTE-eth0 LTE-eth1 >/tmp/cellsim-stdout 2>/tmp/cellsim-stderr &
exec /home/ubuntu/multisend/sender/cellsim /home/ubuntu/verizon_lte_uplink_slice.ms /home/ubuntu/verizon_lte_downlink_slice.ms 00:00:00:00:00:02 0 LTE-eth0 LTE-eth1 >/tmp/cellsim-stdout 2>/tmp/cellsim-stderr
4 changes: 2 additions & 2 deletions sender/cellsim.cc
Expand Up @@ -185,9 +185,9 @@ void DelayQueue::tick( void )
{
uint64_t now = timestamp();

/* If the schedule is empty, repopulate it */
/* If the schedule is empty, end playback */
if ( _schedule.empty() ) {
schedule_from_file( now );
exit( 0 );
}

/* move packets from end of delay to PDP */
Expand Down

0 comments on commit d055ca9

Please sign in to comment.