Merge pull request #8 from changzhi1990/stethoclient

Remove unncessary code
This commit is contained in:
Damon.Wang 2016-01-07 17:05:54 +08:00
commit 23f5206a30

View File

@ -20,12 +20,6 @@ logfile="/var/log/$prog/server.log"
lockfile=/var/lock/subsys/$prog-agent
start() {
if [ ! -d "/var/run/"$prog ]; then
mkdir "/var/run/"$prog
fi
if [ ! -f $pidfile ]; then
touch $pidfile
fi
[ -x $exec ] || exit 5
echo -n $"Starting $prog: "
daemon --user neutron --pidfile $pidfile "$exec & echo \$! > $pidfile"