Sign in
gfiber
/
buildroot
/
102656942f8b648f2696308fbc745841b2080427
/
.
/
package
/
dnsmasq
/
dnsmasqstats
blob: 9371e14e18e3d49851264e19c353927da264eb10 [
file
] [
log
] [
blame
]
#!/bin/sh
# dnsmasq logs statistics about its DNS cache
# operation when sent SIGUSR1, so send it one
# every few minutes.
while
sleep
600
;
do
if
[
-
e
/
var
/
run
/
dnsmasq
.
pid
];
then
killpid
-
s USR1
/
var
/
run
/
dnsmasq
.
pid
fi
done