tools/update.sh

13 lines
700 B
Bash
Raw Permalink Normal View History

2021-06-24 19:48:00 +02:00
#!/usr/bin/env bash
2021-06-24 19:57:52 +02:00
qvm-run --pass-io sys-net 'bash /home/user/pull.sh'
2021-06-25 02:05:08 +02:00
qvm-run --pass-io sys-net 'cat /tmp/core-admin/qubes/firewall.py' > /tmp/1
qvm-run --pass-io sys-net 'cat /tmp/core-admin/qubes/vm/mix/net.py' > /tmp/2
qvm-run --pass-io sys-net 'cat /tmp/core-admin-client/qubesadmin/firewall.py' > /tmp/3
qvm-run --pass-io sys-net 'cat /tmp/core-admin-client/qubesadmin/tools/qvm_firewall.py' > /tmp/4
mv /tmp/1 /usr/lib/python3.5/site-packages/qubes/firewall.py
mv /tmp/2 /usr/lib/python3.5/site-packages/qubes/vm/mix/net.py
mv /tmp/3 /usr/lib/python3.5/site-packages/qubesadmin/firewall.py
mv /tmp/4 /usr/lib/python3.5/site-packages/qubesadmin/tools/qvm_firewall.py
2021-06-24 19:48:00 +02:00
systemctl restart qubesd