Remove second check condition for resolvers.conf (#87)
parent
ce3c77b62a
commit
2f55921a0d
|
@ -20,7 +20,7 @@ done
|
||||||
|
|
||||||
echo "Final chosen resolver: $conf"
|
echo "Final chosen resolver: $conf"
|
||||||
confpath=/etc/nginx/resolvers.conf
|
confpath=/etc/nginx/resolvers.conf
|
||||||
if [ ! -e $confpath ] || [ "$conf" != "$(cat $confpath)" ]
|
if [ ! -e $confpath ]
|
||||||
then
|
then
|
||||||
echo "Using auto-determined resolver '$conf' via '$confpath'"
|
echo "Using auto-determined resolver '$conf' via '$confpath'"
|
||||||
echo "$conf" > $confpath
|
echo "$conf" > $confpath
|
||||||
|
|
Loading…
Reference in New Issue