diff options
author | Jimmy Axenhus <github att axenhus doot com> | 2021-02-28 16:29:27 +0100 |
---|---|---|
committer | Jimmy Axenhus <github att axenhus doot com> | 2021-02-28 16:29:27 +0100 |
commit | 362206287265a8963abe9ee3f7fdec7f586502ac (patch) | |
tree | 4e349d8dcf193105ccf4e40bd635a9947ccc572b /install | |
download | qubes-vpn-exclude-362206287265a8963abe9ee3f7fdec7f586502ac.tar.bz2 qubes-vpn-exclude-362206287265a8963abe9ee3f7fdec7f586502ac.tar.zst qubes-vpn-exclude-362206287265a8963abe9ee3f7fdec7f586502ac.zip |
Initial commit
Diffstat (limited to 'install')
-rwxr-xr-x | install | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |