Skip to content

Commit

Permalink
Merge pull request #160 from salarcon215/master
Browse files Browse the repository at this point in the history
Log Mobiperf startup scripts to /var/log
  • Loading branch information
drchoffnes committed Sep 8, 2014
2 parents c5944c3 + 7ed646e commit 1f9a484
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tcpserver/initialize.sh
@@ -1,4 +1,6 @@
#!/bin/bash
exec >> /var/log/mobiperf 2>&1
echo "####### Running /home/michigan_1/init/initialize.sh at `date` ########"

set -e
# install java JDK
Expand Down
2 changes: 2 additions & 0 deletions tcpserver/start.sh
@@ -1,4 +1,6 @@
#!/bin/bash
exec >> /var/log/mobiperf 2>&1
echo "####### Running /home/michigan_1/init/start.sh at `date` ########"

cd /home/michigan_1/mobiperf

Expand Down
2 changes: 2 additions & 0 deletions tcpserver/stop.sh
@@ -1,5 +1,7 @@
#!/bin/bash
#this script needs to be run from the current directory
exec >> /var/log/mobiperf 2>&1
echo "####### Running /home/michigan_1/init/stop.sh at `date` ########"

for i in Downlink Uplink ServerConfig
do
Expand Down

0 comments on commit 1f9a484

Please sign in to comment.