From a8ae6140a5737dc5668144f9a76e75d9c4b345c8 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 24 Jun 2010 10:14:15 -0400 Subject: Use /root/ for this instead of /tmp/ --- config/avahi/avahi.inc | 6 +++--- config/avahi/avahi.xml | 2 +- 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 @@ - /tmp/ + /root/ 0755 http://www.pfsense.org/packages/config/avahi/binaries/avahi.tar.gz -- cgit v1.2.3