These scripts allow you to have a wireguard connection in your initrd. Make sure you have wireguard installed on your system and a busybox which supports ip, nslookup. If it does not work, change the copy_exec line for busybox in the hook and replace it with a better one. It reads /etc/wireguard/initramdisk.conf and expects at least one comment specifying all ip addresses like so: # Address = 1.2.3.4/12. Tested on Ubuntu 19.10.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| oid="" | |
| community="" | |
| host="" | |
| label="" | |
| unit="" | |
| while getopts "C:H:o:l:u:" o; do | |
| case "${o}" in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import sys | |
| import datetime | |
| frankierart={ | |
| 0x01:'Stampit 2003', | |
| 0x02:'0x02???', | |
| 0x03:'Frankit', | |
| 0x05:'Filiale', | |
| 0x07:'Frankierservice Infopost/Infobrief', | |
| 0x08:'Premiumadress', |
NewerOlder