summaryrefslogtreecommitdiff
path: root/sentinel-minipot/files/restart-minipot-hook.sh
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-07-11 16:06:13 +0200
committerKarel Kočí <cynerd@email.cz>2020-07-11 16:06:13 +0200
commit2f31048b9123444aed7559b72c56645d73379e4b (patch)
treeb7ec0953b884ea2be3815adc8e488327d8871dd0 /sentinel-minipot/files/restart-minipot-hook.sh
parentc1fac266afb99c28ffbb8213d8cf1f6c19a5b13b (diff)
downloadopenwrt-personal-pkgs-2f31048b9123444aed7559b72c56645d73379e4b.tar.gz
openwrt-personal-pkgs-2f31048b9123444aed7559b72c56645d73379e4b.tar.bz2
openwrt-personal-pkgs-2f31048b9123444aed7559b72c56645d73379e4b.zip
sentinel-minipot: include latest turris-os-version
Diffstat (limited to 'sentinel-minipot/files/restart-minipot-hook.sh')
-rw-r--r--sentinel-minipot/files/restart-minipot-hook.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/sentinel-minipot/files/restart-minipot-hook.sh b/sentinel-minipot/files/restart-minipot-hook.sh
new file mode 100644
index 0000000..f316413
--- /dev/null
+++ b/sentinel-minipot/files/restart-minipot-hook.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# restart Sentinel:Minipot service
+/etc/init.d/sentinel-minipot restart
+# Reload firewall to apply redirect
+/etc/init.d/firewall reload