install-data-local: @$(NORMAL_INSTALL) if [ `which chkconfig` ]; then \ sed 's,\(^keytouchinit=\)\(.*\),\1$(bindir)/keytouch-init,' keytouch-init.sh \ > $(DESTDIR)$(sysconfdir)/init.d/keytouch-init.sh; \ chmod +x $(DESTDIR)/etc/init.d/keytouch-init.sh; \ chkconfig --add keytouch-init.sh; \ elif [ `which rc-update` ]; then \ echo "$(bindir)/keytouch-init" > $(DESTDIR)/etc/init.d/keytouch-init.sh; \ chmod +x $(DESTDIR)/etc/init.d/keytouch-init.sh; \ rc-update add keytouch-init.sh default; \ elif [ -d /etc/rc2.d/ ]; then \ echo "$(bindir)/keytouch-init" > $(DESTDIR)/etc/init.d/keytouch-init.sh; \ chmod +x $(DESTDIR)/etc/init.d/keytouch-init.sh; \ if [ `which update-rc.d` ]; then \ update-rc.d keytouch-init.sh defaults; \ else \ for i in 2 3 4 5; do \ ln -sf $(DESTDIR)/etc/init.d/keytouch-init.sh $(DESTDIR)/etc/rc${i}.d/S20keytouch-init.sh; \ done \ fi; \ else \ echo "$(bindir)/keytouch-init" > $(DESTDIR)/etc/rc.d/keytouch-init.sh; \ chmod +x $(DESTDIR)/etc/rc.d/keytouch-init.sh; \ fi
Remove these lines except the first two. The removed lines will be replaced by other lines. The replacing lines depend on the distribution you are using and will be discussed in the paragraphs below.