2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-24 18:40:05 +00:00

fix bug 2881800

Former-commit-id: 2bbc4be9727a504d60125ac909e3f17f559c2bbe
This commit is contained in:
wuzhy 2010-03-01 04:52:57 +00:00
parent fcec56a3d0
commit 5330dcda43

View File

@ -89,7 +89,7 @@ fi
# Remove any existing entry, then add the current one
#
rmitab "conserver" > /dev/null 2>&1
mkitab "conserver:2:once:/opt/conserver/bin/conserver -d -i -m 64"
mkitab "conserver:2:once:/usr/bin/startsrc -s conserver > /dev/console 2>&1" > /dev/null 2>&1
# If the pid file exists, the daemon may be running
#
@ -108,7 +108,7 @@ if [[ -s /var/run/conserver.pid ]]; then
if [[ $OLD_FORMAT = "0" ]]; then
# 8.0 style config file, OK to try and start the daemon
#
/opt/conserver/bin/conserver -d -i -m 64
/usr/bin/startsrc -s conserver > /dev/console 2>&1
fi
fi
fi