aboutsummaryrefslogtreecommitdiffstats
path: root/install
blob: ccfb7a0f18e88095d82250ce0afe68eebac35883 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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

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