Sign in
gfiber
/
buildroot
/
2c348d27f593d627969bcf97120aeb66cc4e7463
/
.
/
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