aboutsummaryrefslogtreecommitdiffstats
path: root/config/dnsblacklist
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-10-05 15:28:37 -0600
committermcrane <mctch@yahoo.com>2009-10-05 15:28:37 -0600
commit091995495e7f346a7eea76d3a03f9e6ac6074704 (patch)
tree81d82ae762256543999a8798b78e4b13ec4cb8bd /config/dnsblacklist
parent8e994f96a6cfe339347857b0bb7a49fb0ddd3470 (diff)
downloadpfsense-packages-091995495e7f346a7eea76d3a03f9e6ac6074704.tar.gz
pfsense-packages-091995495e7f346a7eea76d3a03f9e6ac6074704.tar.bz2
pfsense-packages-091995495e7f346a7eea76d3a03f9e6ac6074704.zip
DNS Blacklist setting the correct configuration file on pkg_config.7.xml should fix the package uninstall problem.
Diffstat (limited to 'config/dnsblacklist')
-rw-r--r--config/dnsblacklist/dnsblacklist.inc9
-rw-r--r--config/dnsblacklist/dnsblacklist.xml4
2 files changed, 3 insertions, 10 deletions
diff --git a/config/dnsblacklist/dnsblacklist.inc b/config/dnsblacklist/dnsblacklist.inc
index 4ef0a1d6..c667e62a 100644
--- a/config/dnsblacklist/dnsblacklist.inc
+++ b/config/dnsblacklist/dnsblacklist.inc
@@ -57,13 +57,6 @@ function byte_convert( $bytes ) {
}
-function phpservice_sync_package_php()
-{
- global $config;
- conf_mount_rw();
- config_unlock();
- conf_mount_ro();
-}
function php_sync_package()
@@ -118,7 +111,7 @@ function php_install_command()
}
-function php_deinstall_command()
+function deinstall_command()
{
conf_mount_rw();
$handle = popen("/usr/local/etc/rc.d/dnsblacklist.sh stop", "r");
diff --git a/config/dnsblacklist/dnsblacklist.xml b/config/dnsblacklist/dnsblacklist.xml
index 1a51e1d4..3e8c1667 100644
--- a/config/dnsblacklist/dnsblacklist.xml
+++ b/config/dnsblacklist/dnsblacklist.xml
@@ -41,7 +41,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>DNS Blacklist Settings</name>
- <version>0.2.2</version>
+ <version>0.2.3</version>
<title>Settings</title>
<include_file>/usr/local/pkg/dnsblacklist.inc</include_file>
<menu>
@@ -105,6 +105,6 @@
php_install_command();
</custom_php_install_command>
<custom_php_deinstall_command>
- php_deinstall_command();
+ deinstall_command();
</custom_php_deinstall_command>
</packagegui> \ No newline at end of file