busybox/examples/var_service/dnsmasq/run
Denys Vlasenko df65dc89b4 examples/var_service: new example: dnsmasq service
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-03-30 20:49:16 +02:00

13 lines
162 B
Bash
Executable File

#!/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