summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-28 21:29:58 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-28 21:29:58 +0100
commit8568da747d7103b8adea9b925b74101ea818e328 (patch)
tree387ea88f0a77b54af33c93de8139f3bad4fe4a38 /op-mode-definitions
parent829e76f7392e348ccc01c56e9680efb4eba80440 (diff)
downloadvyos-1x-8568da747d7103b8adea9b925b74101ea818e328.tar.gz
vyos-1x-8568da747d7103b8adea9b925b74101ea818e328.zip
webproxy: T563: use new bash blacklist updater
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/webproxy.xml13
1 files changed, 1 insertions, 12 deletions
diff --git a/op-mode-definitions/webproxy.xml b/op-mode-definitions/webproxy.xml
index bccffd0b3..f8ec8fb0a 100644
--- a/op-mode-definitions/webproxy.xml
+++ b/op-mode-definitions/webproxy.xml
@@ -101,18 +101,7 @@
<properties>
<help>Update the webproxy blacklist database</help>
</properties>
- <children>
- <tagNode name="category">
- <properties>
- <help>Update a category of the webproxy blacklist database</help>
- <completionHelp>
- <script>${vyos_completion_dir}/list_webproxy_category.sh</script>
- </completionHelp>
- </properties>
- <command>sudo /usr/libexec/vyos/legacy/vyatta-sg-blacklist.pl --update-blacklist-category="$5"</command>
- </tagNode>
- </children>
- <command>sudo /usr/libexec/vyos/legacy/vyatta-sg-blacklist.pl --update-blacklist</command>
+ <command>sudo ${vyos_op_scripts_dir}/webproxy_update_blacklist.sh --update-blacklist</command>
</node>
</children>
</node>