--- Makefile.ORIG 2006-04-09 18:04:38.718776816 -0400 +++ Makefile 2006-04-09 18:05:56.023024784 -0400 @@ -844,6 +844,8 @@ if [ -d /etc/rc.d/init.d ]; then \ $(INSTALL) -m 755 contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \ /sbin/chkconfig --add asterisk; \ + elif [ -d /etc/init.d ] && [ -f /etc/debian_version ]; then \ + $(INSTALL) -m 755 contrib/init.d/rc.debian.asterisk /etc/init.d/asterisk; \ elif [ -d /etc/init.d ]; then \ $(INSTALL) -m 755 init.asterisk /etc/init.d/asterisk; \ fi