From 522ce27c923b456de3a960d88f71b77a53410979 Mon Sep 17 00:00:00 2001 From: David Griffith Date: Wed, 2 Jan 2019 21:25:45 -0800 Subject: [PATCH] Add an uninstall-inetd target. --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 61491cd..04a9b16 100644 --- a/Makefile +++ b/Makefile @@ -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; \