mirror of
https://github.com/unman/shaker.git
synced 2025-07-28 08:44:09 -04:00
Pi-hole - set up and packaging
This commit is contained in:
parent
dec10e8881
commit
a8687db2f1
3 changed files with 102 additions and 0 deletions
7
pihole/change_netvm.sh
Normal file
7
pihole/change_netvm.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/bash
|
||||
qvm-start sys-pihole
|
||||
if [ $(qubes-prefs default_netvm sys-firewall |grep sys-firewall ) ]; then qubes-prefs default_netvm sys-pihole; fi
|
||||
sleep 3
|
||||
for i in `qvm-ls -O NAME,NETVM | awk '/ sys-firewall/{ print $1 }'`; do qvm-prefs $i netvm sys-pihole; done
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue