aboutsummaryrefslogtreecommitdiffstats
path: root/rc.local-hook
blob: b39a105ca7edcbfc4ddb4881756950cea88d07c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

set -e

cd /rw/config/qubes-vpn-exclude

mkdir -p /lib/systemd/system/dnsmasq.service.d
cp dnsmasq.service.d/* /lib/systemd/system/dnsmasq.service.d

ln -s -f $PWD/qubes-firewall.d/95-qubes-vpn-exclude /rw/config/qubes-firewall.d/95-qubes-vpn-exclude
chmod +x /rw/config/qubes-firewall.d/*

systemctl daemon-reload
systemctl enable dnsmasq.service
systemctl restart qubes-firewall.service

sync

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