summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/connections/ethernet2
-rw-r--r--src/connections/openvpn2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/connections/ethernet b/src/connections/ethernet
index a6a53bd..487adf8 100644
--- a/src/connections/ethernet
+++ b/src/connections/ethernet
@@ -219,7 +219,7 @@ ethernet_up() {
echo "nameserver $dns" >>/etc/resolv.conf
done
for dnsoption in "${DNS_OPTIONS[@]}"; do
- echo "option $dnsoption" >>/etc/resolv.conf
+ echo "options $dnsoption" >>/etc/resolv.conf
done
fi
diff --git a/src/connections/openvpn b/src/connections/openvpn
index 6ecfeb7..170d582 100644
--- a/src/connections/openvpn
+++ b/src/connections/openvpn
@@ -29,7 +29,7 @@ openvpn_up() {
echo "nameserver $dns" >>/etc/resolv.conf
done
for dnsoption in "${DNS_OPTIONS[@]}"; do
- echo "option $dnsoption" >>/etc/resolv.conf
+ echo "options $dnsoption" >>/etc/resolv.conf
done
fi
}