root/floppyfw-3.0/scripts/renew-dnsmasq.sh
| Revision 269, 183 bytes (checked in by root, 19 months ago) |
|---|
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | . /etc/config |
| 4 | . /etc/functions.inc |
| 5 | |
| 6 | bool_value "$DNSMASQ" || bool_value "$DHCP_SERVER" && { |
| 7 | # Find out if dnsmasq is running |
| 8 | p=`pidof dnsmasq` |
| 9 | |
| 10 | [ $p ] && kill -HUP $p |
| 11 | } |
Note: See TracBrowser
for help on using the browser.