root/floppyfw/files/renew-dnsmasq.sh

Revision 1, 156 bytes (checked in by root, 6 years ago)

First post

Line 
1#!/bin/sh
2
3. /etc/config
4
5[ "$DNSMASQ" = y ] || [ "$DHCP_SERVER" = y ] && {
6        # Find out if dnsmasq is running
7        p=`pidof dnsmasq`
8
9        [ $p ] && kill -HUP $p
10}
Note: See TracBrowser for help on using the browser.