diff --git a/plist b/plist index bf062a1ed..74cb7145f 100644 --- a/plist +++ b/plist @@ -723,7 +723,7 @@ /usr/local/opnsense/scripts/systemhealth/flush_rrd.py /usr/local/opnsense/scripts/systemhealth/listReports.py /usr/local/opnsense/scripts/unbound/cache.sh -/usr/local/opnsense/scripts/unbound/unboundctlwrapper +/usr/local/opnsense/scripts/unbound/wrapper.py /usr/local/opnsense/service/conf/actions.d/actions_captiveportal.conf /usr/local/opnsense/service/conf/actions.d/actions_configd.conf /usr/local/opnsense/service/conf/actions.d/actions_cron.conf diff --git a/src/opnsense/scripts/unbound/unboundctlwrapper b/src/opnsense/scripts/unbound/wrapper.py similarity index 100% rename from src/opnsense/scripts/unbound/unboundctlwrapper rename to src/opnsense/scripts/unbound/wrapper.py diff --git a/src/opnsense/service/conf/actions.d/actions_unbound.conf b/src/opnsense/service/conf/actions.d/actions_unbound.conf index 8207d8160..539f570d5 100644 --- a/src/opnsense/service/conf/actions.d/actions_unbound.conf +++ b/src/opnsense/service/conf/actions.d/actions_unbound.conf @@ -1,35 +1,35 @@ [dumpcache] -command:/usr/local/opnsense/scripts/unbound/unboundctlwrapper -c +command:/usr/local/opnsense/scripts/unbound/wrapper.py -c parameters: type:script_output message:dumping name server cache [dumpinfra] -command:/usr/local/opnsense/scripts/unbound/unboundctlwrapper -i +command:/usr/local/opnsense/scripts/unbound/wrapper.py -i parameters: type:script_output message:dumping infrastructure cache [stats] -command:/usr/local/opnsense/scripts/unbound/unboundctlwrapper -s +command:/usr/local/opnsense/scripts/unbound/wrapper.py -s parameters: type:script_output message:loading stats [listinsecure] -command:/usr/local/opnsense/scripts/unbound/unboundctlwrapper -I +command:/usr/local/opnsense/scripts/unbound/wrapper.py -I parameters: type:script_output message:list isecure local zones [listlocalzones] -command:/usr/local/opnsense/scripts/unbound/unboundctlwrapper -l +command:/usr/local/opnsense/scripts/unbound/wrapper.py -l parameters: type:script_output message:list local zones [listlocaldata] -command:/usr/local/opnsense/scripts/unbound/unboundctlwrapper -d +command:/usr/local/opnsense/scripts/unbound/wrapper.py -d parameters: type:script_output message:list local data