aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2011-09-30 21:32:54 +0200
committerWarren Baker <warren@decoy.co.za>2011-09-30 21:32:54 +0200
commit067056363be7abfa95c0873c99347e826a109fc6 (patch)
treee84d702aa0dfe681ed720b685d7bc7dd324a2a36
parent4763db0d8ca282fc0e3d0165ba9804fae2e7aefe (diff)
downloadpfsense-packages-067056363be7abfa95c0873c99347e826a109fc6.tar.gz
pfsense-packages-067056363be7abfa95c0873c99347e826a109fc6.tar.bz2
pfsense-packages-067056363be7abfa95c0873c99347e826a109fc6.zip
Check to see if file is link, if not then whack and create a symbolic link. Also bump version to appease the minions
-rw-r--r--config/unbound/unbound.inc4
-rw-r--r--pkg_config.8.xml2
-rw-r--r--pkg_config.8.xml.amd642
3 files changed, 5 insertions, 3 deletions
diff --git a/config/unbound/unbound.inc b/config/unbound/unbound.inc
index afb3c0b7..76c35277 100644
--- a/config/unbound/unbound.inc
+++ b/config/unbound/unbound.inc
@@ -199,8 +199,10 @@ function unbound_control($action) {
if(!is_service_running("unbound"))
unbound_ctl_exec("start");
/* Link dnsmasq.pid to prevent dhcpleases logging error */
- if (!file_exists("/var/run/dnsmasq.pid"))
+ if (!is_link("/var/run/dnsmasq.pid")) {
+ @unlink("/var/run/dnsmasq.pid");
mwexec("/bin/ln -s /var/run/unbound.pid /var/run/dnsmasq.pid");
+ }
fetch_root_hints();
}
break;
diff --git a/pkg_config.8.xml b/pkg_config.8.xml
index a777dee4..b0164217 100644
--- a/pkg_config.8.xml
+++ b/pkg_config.8.xml
@@ -1077,7 +1077,7 @@
<descr>Unbound is a validating, recursive, and caching DNS resolver. This package is a drop in replacement for Services: DNS Forwarder and also supports DNSSEC extensions. Once installed please configure the Unbound service by visiting Services: Unbound DNS.</descr>
<website>http://www.unbound.net/</website>
<category>Services</category>
- <version>1.4.13_00</version>
+ <version>1.4.13_01</version>
<status>Alpha</status>
<maintainer>warren@decoy.co.za</maintainer>
<required_version>2.0</required_version>
diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64
index b631fa79..b4491ab4 100644
--- a/pkg_config.8.xml.amd64
+++ b/pkg_config.8.xml.amd64
@@ -1062,7 +1062,7 @@
<descr>Unbound is a validating, recursive, and caching DNS resolver. This package is a drop in replacement for Services: DNS Forwarder and also supports DNSSEC extensions. Once installed please configure the Unbound service by visiting Services: Unbound DNS.</descr>
<website>http://www.unbound.net/</website>
<category>Services</category>
- <version>1.4.13_00</version>
+ <version>1.4.13_01</version>
<status>Alpha</status>
<maintainer>warren@decoy.co.za</maintainer>
<required_version>2.0</required_version>