From 362206287265a8963abe9ee3f7fdec7f586502ac Mon Sep 17 00:00:00 2001 From: Jimmy Axenhus Date: Sun, 28 Feb 2021 16:29:27 +0100 Subject: Initial commit --- install | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 install (limited to 'install') diff --git a/install b/install new file mode 100755 index 0000000..ccfb7a0 --- /dev/null +++ b/install @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e + +if ! [ $(id -u) -eq 0 ]; then + echo "root required" >&2 + exit 1 +fi + +mkdir /rw/config/qubes-vpn-exclude +cp -a *.d generate-dnsmasq.sh rc.local-hook /rw/config/qubes-vpn-exclude + +chmod +x /rw/config/qubes-vpn-exclude/generate-dnsmasq.sh +chmod +x /rw/config/qubes-vpn-exclude/qubes-firewall.d/95-qubes-vpn-exclude -- cgit v1.2.3