tools/restore.sh
2021-06-25 01:33:23 +02:00

8 lines
452 B
Bash
Executable File

#!/usr/bin/env bash
cp /home/user/backup/qubes/firewall.py /usr/lib/python3.5/site-packages/qubes/firewall.py
cp /home/user/backup/qubes/vm/mix/net.py /usr/lib/python3.5/site-packages/qubes/vm/mix/net.py
cp /home/user/backup/qubesadmin/firewall.py /usr/lib/python3.5/site-packages/qubesadmin/firewall.py
cp /home/user/backup/qubesadmin/tools/qvm_firewall.py /usr/lib/python3.5/site-packages/qubesadmin/tools/qvm_firewall.py
systemctl restart qubesd