![]() Example: /rw/config/network-hooks.d/test.sh \#!/bin/bash command="$1" vif="$2" ip="$3" if [ "$ip" == '10.137.0.100' ]; then case "$command" in online) ip route add 192.168.0.100 via 10.137.0.100 ;; offline) ip route del 192.168.0.100 ;; esac fi |
||
---|---|---|
.. | ||
00notify-hook | ||
30-qubes-external-ip | ||
80-qubes.conf | ||
ip6tables | ||
ip6tables-enabled | ||
iptables | ||
iptables-updates-proxy | ||
network-manager-prepare-conf-dir | ||
nm-30-qubes.conf | ||
qubes-fix-nm-conf.sh | ||
qubes-iptables | ||
qubes-nmhook | ||
qubes-setup-dnat-to-ns | ||
setup-ip | ||
show-hide-nm-applet.desktop | ||
show-hide-nm-applet.sh | ||
tinyproxy-updates.conf | ||
udev-qubes-network.rules | ||
update-proxy-configs | ||
updates-blacklist | ||
vif-qubes-nat.sh | ||
vif-route-qubes |