Browse Source

Improved `make restart` to support runsvctl and sv

testing
Alejandro 16 years ago
parent
commit
6532ad7501
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      root/Makefile

+ 5
- 1
root/Makefile

@ -5,7 +5,11 @@ all: make_recursive
restart: restart:
@if [ -e /service/tinydns ]; then \ @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 fi
clean: clean_recursive clean: clean_recursive

Loading…
Cancel
Save