summaryrefslogtreecommitdiff
path: root/sentinel-proxy/files/sentinel-reload.sh
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-12-09 12:51:50 +0100
committerKarel Kočí <cynerd@email.cz>2021-12-09 12:51:50 +0100
commit45c300126e4a1f72eba94791f8da27e7082c2ec6 (patch)
tree338afb0530a7bd87e0b99937eee510fcb7540228 /sentinel-proxy/files/sentinel-reload.sh
parent3df1aad296a94639ac36d3da87d52c27a26053a8 (diff)
downloadopenwrt-personal-pkgs-45c300126e4a1f72eba94791f8da27e7082c2ec6.tar.gz
openwrt-personal-pkgs-45c300126e4a1f72eba94791f8da27e7082c2ec6.tar.bz2
openwrt-personal-pkgs-45c300126e4a1f72eba94791f8da27e7082c2ec6.zip
sentinel-proxy: remove testing version
Diffstat (limited to 'sentinel-proxy/files/sentinel-reload.sh')
-rwxr-xr-xsentinel-proxy/files/sentinel-reload.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/sentinel-proxy/files/sentinel-reload.sh b/sentinel-proxy/files/sentinel-reload.sh
deleted file mode 100755
index f21eceb..0000000
--- a/sentinel-proxy/files/sentinel-reload.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-# Reload all sentinel components to apply the newest configuration.
-# The reload is done by running scripts located in HOOKS_DIR
-
-HOOKS_DIR="/usr/libexec/sentinel/reload_hooks.d/"
-
-if ! [ -d "${HOOKS_DIR}" ]; then
- echo "Failed to reload Sentinel: hooks dir does not exist" >&2
- return 1
-fi
-
-for reload_script in "${HOOKS_DIR}"/*; do
- [ -x "${reload_script}" ] || continue
- "${reload_script}"
-done