summaryrefslogtreecommitdiff
path: root/src/system/on-dhcp-event.sh
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-02-21 14:06:44 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-02-21 14:06:44 +0000
commita42c2322a8db213a4560576054cb27bb38ae9ed0 (patch)
tree64289a13e8e5246715cf3f970fb69d01e7566854 /src/system/on-dhcp-event.sh
parent8ba846d43b2f91aaaa98ddb8b97164cc4a867b27 (diff)
downloadvyos-1x-a42c2322a8db213a4560576054cb27bb38ae9ed0.tar.gz
vyos-1x-a42c2322a8db213a4560576054cb27bb38ae9ed0.zip
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