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