summaryrefslogtreecommitdiff
path: root/src/system/on-dhcp-event.sh
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-02-21 21:10:32 +0700
committerGitHub <noreply@github.com>2021-02-21 21:10:32 +0700
commit1c286a3e0807f4c7f0ead3669ea9c78979702888 (patch)
tree64289a13e8e5246715cf3f970fb69d01e7566854 /src/system/on-dhcp-event.sh
parent8ba846d43b2f91aaaa98ddb8b97164cc4a867b27 (diff)
parenta42c2322a8db213a4560576054cb27bb38ae9ed0 (diff)
downloadvyos-1x-1c286a3e0807f4c7f0ead3669ea9c78979702888.tar.gz
vyos-1x-1c286a3e0807f4c7f0ead3669ea9c78979702888.zip
Merge pull request #738 from DmitriyEshenko/crux-2102212101
dhcp-server: T2521: Change pgrep search name
Diffstat (limited to 'src/system/on-dhcp-event.sh')
-rwxr-xr-xsrc/system/on-dhcp-event.sh2
1 files changed, 1 insertions, 1 deletions
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