summarylogtreecommitdiffstats
path: root/wireguard_hook
diff options
context:
space:
mode:
Diffstat (limited to 'wireguard_hook')
-rw-r--r--wireguard_hook4
1 files changed, 2 insertions, 2 deletions
diff --git a/wireguard_hook b/wireguard_hook
index f914e7cf50b..59d85985fc8 100644
--- a/wireguard_hook
+++ b/wireguard_hook
@@ -28,8 +28,8 @@
_fatal () { echo ":: wireguard [FATAL]: ${@}. Cannot initialise Wireguard\!"; break=y; }
-if [ -f /etc/wireguard/remote-unlock ]; then
- . /etc/wireguard/remote-unlock
+if [ -f /etc/wireguard/initcpio/unlock ]; then
+ . /etc/wireguard/initcpio/unlock
fi
run_hook()