mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
12 lines
143 B
Bash
Executable File
12 lines
143 B
Bash
Executable File
#!/bin/sh
|
|
|
|
search=$1
|
|
shift
|
|
|
|
if grep "^\#.*define.*$search" config.h 2>&1 >/dev/null || \
|
|
grep $search 2>&1 >/dev/null ; then
|
|
exec $*
|
|
fi
|
|
|
|
|