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