1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-10-27 05:20:18 -04:00

Add an uninstall-inetd target.

This commit is contained in:
David Griffith 2019-01-02 21:25:45 -08:00
parent 52f23fa663
commit 522ce27c92

View File

@ -264,6 +264,16 @@ uninstall: uninstall-xinetd uninstall-launchd uninstall-systemd
rmdir -p $(SBINDIR) $(DOCDIR) 2>/dev/null || true
@echo
uninstall-inetd:
if ( -f "$(INETD)" ]; then \
@echo "Please manually delete following line and restart or"
@echo "kill -HUP the inetd process."
@echo
@echo "
@echo "gopher stream tcp nowait nobody $(SBINDIR)/$(BINARY) $(BINARY) -h `hostname`"
fi
@echo
uninstall-xinetd:
if grep -q $(BINARY) "$(XINETD)/gopher" 2>/dev/null; then \
rm -f $(XINETD)/gopher; \