diff options
author | jim-p <jimp@pfsense.org> | 2010-06-24 10:14:15 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-06-24 10:14:15 -0400 |
commit | a8ae6140a5737dc5668144f9a76e75d9c4b345c8 (patch) | |
tree | 1497d83a199c5cfd1f8ac71b3c0eaebfc08e90b0 | |
parent | 08ad92c2cf2663e16df9ecf2a6ffb95bdf5cf63d (diff) | |
download | pfsense-packages-a8ae6140a5737dc5668144f9a76e75d9c4b345c8.tar.gz pfsense-packages-a8ae6140a5737dc5668144f9a76e75d9c4b345c8.tar.bz2 pfsense-packages-a8ae6140a5737dc5668144f9a76e75d9c4b345c8.zip |
Use /root/ for this instead of /tmp/
-rw-r--r-- | config/avahi/avahi.inc | 6 | ||||
-rw-r--r-- | 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 @@ </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> |