aboutsummaryrefslogtreecommitdiff
path: root/examples/var_service/dnsmasq/run
blob: 2ac94282f8a4f6027e9f1b8edcc739e2513d5d1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

#exec >/dev/null
exec 2>&1
exec </dev/null

echo "* Starting dnsmasq"
exec \
env - PATH="$PATH" \
softlimit \
setuidgid root \
dnsmasq -C dnsmasq.conf