summarylogtreecommitdiffstats
path: root/wireguard_install
diff options
context:
space:
mode:
Diffstat (limited to 'wireguard_install')
-rw-r--r--wireguard_install40
1 files changed, 0 insertions, 40 deletions
diff --git a/wireguard_install b/wireguard_install
deleted file mode 100644
index 4438f465418..00000000000
--- a/wireguard_install
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-build()
-{
- if [ ! -s /etc/wireguard/initcpio/unlock ]; then
- error "Missing Wireguard initcpio hook unlock configuration file! Exiting!"
- return 1
- else
- . /etc/wireguard/initcpio/unlock
- if [ ! -s $PRIVATE_KEYFILE ]; then
- error "Missing Wireguard initcpio hook Private Keyfile! Exiting!"
- return 1
- fi
- fi
-
- add_binary wg
- add_module wireguard
-
- add_dir /etc/wireguard/initcpio
-
- add_file $PRIVATE_KEYFILE
- add_file /etc/wireguard/initcpio/unlock
-
- add_runscript
-}
-
-help() {
- cat <<HELPME
-This hook provides basic Wireguard support to assist in the remote unlocking
-of encrypted partitions. There are various parameters that are to be
-configured via the "/etc/wireguard/initcpio/unlock" file. This must be done!
-
-In addition to this hook, you will require something like tinyssh or dropbear
-appropriately configured in order to gain remote access. Please refer to the
-Arch Wiki for further details with regards to remote unlocking of encrypted
-partitions.
-HELPME
-}
-
-# vim:set syntax=sh tw=78: