diff options
author | David Harrigan | 2021-01-25 15:53:50 +0000 |
---|---|---|
committer | David Harrigan | 2021-01-25 15:53:50 +0000 |
commit | 9114e75a97cf792d2c3767a43c765bfb882497ea (patch) | |
tree | b464059dbfb284ede90a5ec94aadb8c4b9953fbc /wireguard_install | |
parent | 702fcdea6db270c65118b439fd5a586b8e08ab68 (diff) | |
download | aur-9114e75a97cf792d2c3767a43c765bfb882497ea.tar.gz |
upgpkg: mkinitcpio-wireguard 0.4.1-3
Split out source from packaging.
-=david=-
Diffstat (limited to 'wireguard_install')
-rw-r--r-- | wireguard_install | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/wireguard_install b/wireguard_install deleted file mode 100644 index 4438f4654182..000000000000 --- 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: |