aboutsummaryrefslogtreecommitdiffstats
path: root/00-2fa-usb.conf
diff options
context:
space:
mode:
Diffstat (limited to '00-2fa-usb.conf')
-rw-r--r--00-2fa-usb.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/00-2fa-usb.conf b/00-2fa-usb.conf
new file mode 100644
index 0000000..ffcee34
--- /dev/null
+++ b/00-2fa-usb.conf
@@ -0,0 +1,9 @@
+[Unit]
+After=local-fs.target
+
+[Service]
+Environment="client_opt5=--auth-user-pass /tmp/vpn-ramdisk/userpassword.txt --askpass /tmp/vpn-ramdisk/key-pass.txt"
+
+ExecStartPre=/usr/bin/env DISPLAY=:0 xterm -T "VPN" -e "/rw/config/prepare-vpn-usb.sh"
+
+TimeoutStartSec=10m

Code dump for some of my projects as well as a mirror for other random or interesting projects. You can find my site at jimmy.axenhus.com