From cbef9f4253fb0bc2a243571c0adfc3d7d8d66867 Mon Sep 17 00:00:00 2001 From: Jimmy Axenhus Date: Sun, 4 Apr 2021 16:39:43 +0200 Subject: Initial commit. --- 00-2fa-usb.conf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 00-2fa-usb.conf (limited to '00-2fa-usb.conf') 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 -- cgit v1.2.3