diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-10-12 15:09:08 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-10-12 15:09:08 +0200 |
commit | ba2128f0233c04aea1f5adc425938f78bdd7540e (patch) | |
tree | b7c8828b736f02fd4c3c2a07ddd58902cd264d7e /src/connections/openvpn | |
parent | e06f4c789a2f53401f22d39ed1180967adbb6271 (diff) | |
download | netctl-ba2128f0233c04aea1f5adc425938f78bdd7540e.tar.gz netctl-ba2128f0233c04aea1f5adc425938f78bdd7540e.tar.xz |
Fix whitespace and quoting
Diffstat (limited to 'src/connections/openvpn')
-rw-r--r-- | src/connections/openvpn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connections/openvpn b/src/connections/openvpn index cb0adde..27c8c65 100644 --- a/src/connections/openvpn +++ b/src/connections/openvpn @@ -23,8 +23,8 @@ openvpn_up() { if [[ -n "$DNS" ]]; then [[ -e /etc/resolv.conf ]] && cp /etc/resolv.conf /tmp/openvpn-$1-resolv.conf : >/etc/resolv.conf - [[ -n "$DOMAIN" ]] && echo "domain $DOMAIN" >>/etc/resolv.conf - [[ -n "$SEARCH" ]] && echo "search $SEARCH" >>/etc/resolv.conf + [[ -n "$DOMAIN" ]] && echo "domain $DOMAIN" >>/etc/resolv.conf + [[ -n "$SEARCH" ]] && echo "search $SEARCH" >>/etc/resolv.conf for dns in "${DNS[@]}"; do echo "nameserver $dns" >>/etc/resolv.conf done |