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:
parent
52f23fa663
commit
522ce27c92
10
Makefile
10
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; \
|
||||
|
Loading…
Reference in New Issue
Block a user