aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/avahi/avahi.inc6
-rw-r--r--config/avahi/avahi.xml2
2 files changed, 4 insertions, 4 deletions
diff --git a/config/avahi/avahi.inc b/config/avahi/avahi.inc
index d8ab263b..8249d33a 100644
--- a/config/avahi/avahi.inc
+++ b/config/avahi/avahi.inc
@@ -44,9 +44,9 @@ function avahi_install() {
exec("mv /usr/local/etc/avahi/*.service /usr/local/etc/avahi/services/");
// Extract out libraries and avahi-daemon
- if(file_exists("/tmp/avahi.tar.gz")) {
- exec("/usr/bin/tar xzPUf /tmp/avahi.tar.gz -C /");
- unlink("/tmp/avahi.tar.gz");
+ if(file_exists("/root/avahi.tar.gz")) {
+ exec("/usr/bin/tar xzPUf /root/avahi.tar.gz -C /");
+ unlink("/root/avahi.tar.gz");
}
// Make sure everthing was extracted
diff --git a/config/avahi/avahi.xml b/config/avahi/avahi.xml
index 84ee46fc..53b0b569 100644
--- a/config/avahi/avahi.xml
+++ b/config/avahi/avahi.xml
@@ -70,7 +70,7 @@
</field>
</fields>
<additional_files_needed>
- <prefix>/tmp/</prefix>
+ <prefix>/root/</prefix>
<chmod>0755</chmod>
<item>http://www.pfsense.org/packages/config/avahi/binaries/avahi.tar.gz</item>
</additional_files_needed>