openwrt/package/network/services/dnsmasq/files/dnsmasq.hotplug

6 lines
100 B
Bash

#!/bin/sh
[ "$ACTION" = ifup ] || exit 0
/etc/init.d/dnsmasq enabled && /etc/init.d/dnsmasq start