summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2015-05-17 19:12:37 +0200
committeranonym <anonym@riseup.net>2015-05-17 19:12:37 +0200
commit6255dab55cd360ee6e72125f46dee75b616b18e8 (patch)
tree644f8b1c8a74888b96914d52090d657d68df817c
parentcc8eecaa5761bdd4bf708410b7a695c3c372dd94 (diff)
-rwxr-xr-xconfig/chroot_local-includes/usr/local/sbin/unsafe-browser4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/chroot_local-includes/usr/local/sbin/unsafe-browser b/config/chroot_local-includes/usr/local/sbin/unsafe-browser
index 7f8dae1..0cc4e0b 100755
--- a/config/chroot_local-includes/usr/local/sbin/unsafe-browser
+++ b/config/chroot_local-includes/usr/local/sbin/unsafe-browser
@@ -102,11 +102,11 @@ NAMESERVERS_REGEX="^IP4_NAMESERVERS=\"(${IP4_REGEX}( ${IP4_REGEX})*)?\"$"
ALL_IP4_NAMESERVERS=""
for env_file in /var/lib/NetworkManager/env.*; do
if [ -r "${env_file}" ]; then
- if grep --extended-regexp -qv "${NAMESERVERS_REGEX}" "${NM_ENV_FILE}"; then
+ if grep --extended-regexp -qv "${NAMESERVERS_REGEX}" "${env_file}"; then
error "`gettext \"NetworkManager passed us garbage data when trying to deduce the clearnet DNS server.\"`"
fi
# Import the IP4_NAMESERVERS variable.
- eval "$(grep --extended-regexp "${NAMESERVERS_REGEX}" "${NM_ENV_FILE}")"
+ eval "$(grep --extended-regexp "${NAMESERVERS_REGEX}" "${env_file}")"
if [ -n "${IP4_NAMESERVERS}" ]; then
ALL_IP4_NAMESERVERS="${ALL_IP4_NAMESERVERS} ${IP4_NAMESERVERS}"
fi