mirror of
https://github.com/xcat2/xcat-dep.git
synced 2025-08-23 11:40:26 +00:00
add the conserver into init.d for start automaticlly on debian/ubuntu
Former-commit-id: a832c47255abe6d0cd0eab1b659ed2ae105f67af
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user