diff options
author | T3slider <t3slider@gmail.com> | 2015-06-24 23:32:00 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-06-24 23:32:00 +0700 |
commit | 9f1f05e1028b84b16c7b25a61a85c21484dbf9ff (patch) | |
tree | f80d047ef96272cd174331626712f194fdc6761b /network/dnscrypt-wrapper/rc.dnscrypt-wrapper | |
parent | bad41dc34d99be0fb1e9acbe5e1f5d08e1671107 (diff) |
network/dnscrypt-wrapper: Updated for version 0.1.16.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dnscrypt-wrapper/rc.dnscrypt-wrapper')
-rw-r--r-- | network/dnscrypt-wrapper/rc.dnscrypt-wrapper | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/network/dnscrypt-wrapper/rc.dnscrypt-wrapper b/network/dnscrypt-wrapper/rc.dnscrypt-wrapper index 4f84021dd32a..edde4ebb069e 100644 --- a/network/dnscrypt-wrapper/rc.dnscrypt-wrapper +++ b/network/dnscrypt-wrapper/rc.dnscrypt-wrapper @@ -1,7 +1,7 @@ #!/bin/bash CONFIGFILE="/etc/default/dnscrypt-wrapper" -DAEMON="/usr/bin/dnscrypt-wrapper" +DAEMON="/usr/sbin/dnscrypt-wrapper" . $CONFIGFILE @@ -76,6 +76,9 @@ start_instance() { if [ -n "${PROVIDERCERTFILE[$1]}" ]; then OPTIONS="${OPTIONS} --provider-cert-file=${PROVIDERCERTFILE[$1]}" fi + if [ "${UNAUTHENTICATED[$1]}" == "yes" ]; then + OPTIONS="${OPTIONS} --unauthenticated" + fi if [ -n "${LOGFILE[$1]}" ]; then OPTIONS="${OPTIONS} --logfile=${LOGFILE[$1]}" fi |