diff --git a/root/Makefile b/root/Makefile index 3689297..21e51c6 100644 --- a/root/Makefile +++ b/root/Makefile @@ -5,7 +5,11 @@ all: make_recursive restart: @if [ -e /service/tinydns ]; then \ - /command/runsvctrl h /service/tinydns; \ + for x in runsvctrl sv; do \ + if [ -x /command/$$x ]; then \ + /command/$$x h /service/tinydns; \ + fi; \ + done ; \ fi clean: clean_recursive