mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-21 17:11:45 +00:00
add the conserver into init.d for start automaticlly on debian/ubuntu
Former-commit-id: a832c47255abe6d0cd0eab1b659ed2ae105f67af
This commit is contained in:
parent
a7c22717ae
commit
98ed581fd1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user