Import Debian version 2.10+parrot2

anonsurf (2.10+parrot2) testing; urgency=medium

  * Fix syntax errors.
Signed-off-by: Lorenzo Faletra's avatarLorenzo Palinuro Faletra <palinuro@parrotsec.org>
parent ea6d390c
......@@ -243,7 +243,7 @@ function dnsstart {
rm /etc/resolv.conf
ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf
cat /etc/anonsurf/resolv.conf.opennic > /etc/resolvconf/resolv.conf.d/tail
/usr/bin/service resolvconf restart
/usr/sbin/service resolvconf restart
touch /etc/anonsurf/opennic.lock
echo "done"
notify "done"
......@@ -255,7 +255,7 @@ function dnsstop {
rm /etc/resolv.conf
ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf
echo > /etc/resolvconf/resolv.conf.d/tail
/usr/bin/service resolvconf restart
/usr/sbin/service resolvconf restart
rm /etc/anonsurf/opennic.lock
echo "done"
notify "done"
......@@ -264,13 +264,9 @@ function dnsstop {
function dns {
if [ -f /etc/anonsurf/opennic.lock ]; then
dnsstop
fi
elif [ ! -f /etc/anonsurf/opennic.lock ]; then
elif [ ! -f /etc/anonsurf/opennic.lock ]; then
dnsstart
fi
else; then
dnsstart
fi
fi
}
......
anonsurf (2.10+parrot2) testing; urgency=medium
* Fix syntax errors.
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Sun, 14 Apr 2019 06:01:32 +0200
anonsurf (2.10+parrot1) testing; urgency=medium
* Add OpenNIC DNS feature.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment