Remove unncessary code

This commit is contained in:
changzhi1990 2016-01-07 16:57:09 +08:00
parent e7a18c2ad7
commit 811c1cca15

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"