Code Review
/
o-du
/
l2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f4b1f80dfbc5b96ca7e465183c403d99759836dd
[o-du/l2.git]
/
build
/
scripts
/
netopeer-server.sh
1
#!/bin/bash
2
3
if [ "$1" == "" ]
4
then
5
echo Usage : netopeer.sh [start] [stop]
6
fi
7
8
if [ "$1" == "start" ]
9
then
10
netopeer2-server -d -v2 > /var/log/netopeer2-server.log 2>&1 &
11
fi
12
13
if [ "$1" == "stop" ]
14
then
15
kill -9 `pidof netopeer2-server`
16
fi