mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-03 19:54:12 -04:00
fix: avoid operand evaluation as argument
Explicit end option parsing as the shell can be quite dangerous without it.
This commit is contained in:
parent
e42950376a
commit
1b2f1ba941
52 changed files with 196 additions and 189 deletions
|
@ -11,9 +11,9 @@ nft -f /rw/config/qubes-firewall.d/50-sys-pihole
|
|||
|
||||
for vif in /proc/sys/net/ipv4/conf/vif*/route_localnet; do
|
||||
test -w "${vif}" || continue
|
||||
echo 1 | tee "${vif}" >/dev/null
|
||||
echo 1 | tee -- "${vif}" >/dev/null
|
||||
done
|
||||
|
||||
if test -f /var/run/qubes-service/local-dns-server; then
|
||||
echo "nameserver 127.0.0.1" | tee /etc/resolv.conf >/dev/null
|
||||
echo "nameserver 127.0.0.1" | tee -- /etc/resolv.conf >/dev/null
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue