From a42c2322a8db213a4560576054cb27bb38ae9ed0 Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Sun, 21 Feb 2021 14:06:44 +0000 Subject: dhcp-server: T2521: Change pgrep search name --- src/system/on-dhcp-event.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/system/on-dhcp-event.sh b/src/system/on-dhcp-event.sh index 5046912a6..1ccc7acf2 100755 --- a/src/system/on-dhcp-event.sh +++ b/src/system/on-dhcp-event.sh @@ -61,7 +61,7 @@ esac if [ $changes -gt 0 ]; then echo Success - pid=`pgrep pdns_recursor` + pid=`pgrep pdns` if [ -n "$pid" ]; then sudo rec_control reload-zones fi -- cgit v1.2.3