2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-24 10:29:53 +00:00

add the conserver into init.d for start automaticlly on debian/ubuntu

Former-commit-id: a832c47255abe6d0cd0eab1b659ed2ae105f67af
This commit is contained in:
xq2005 2013-01-24 06:40:42 +00:00
parent a7c22717ae
commit 98ed581fd1

View File

@ -21,7 +21,8 @@ set -e
case "$1" in
configure)
if [ -x /etc/init.d/conserver ]; then
update-rc.d conserver enable
update-rc.d conserver start 2 2 3 4 5 .
update-rc.d conserver enable 2
fi
# make sure /etc/services has a conserver entry
if [ ! `grep conserver /etc/services > /dev/null` ]; then