From 98ed581fd1b395735e84b1febdad9625a29a8aca Mon Sep 17 00:00:00 2001 From: xq2005 Date: Thu, 24 Jan 2013 06:40:42 +0000 Subject: [PATCH] add the conserver into init.d for start automaticlly on debian/ubuntu Former-commit-id: a832c47255abe6d0cd0eab1b659ed2ae105f67af --- conserver/debian/postinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conserver/debian/postinst b/conserver/debian/postinst index 04c6217..c5935b1 100644 --- a/conserver/debian/postinst +++ b/conserver/debian/postinst @@ -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