diff options
author | jim-p <jimp@pfsense.org> | 2010-11-09 15:19:40 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-11-09 15:19:40 -0500 |
commit | 25d8e6574d8f46bd581af19f80977011790ab4ed (patch) | |
tree | 52b0af748fb1fe3d035eaaff04595b1140cc5f4e /config/dnsblacklist | |
parent | efdc60cf0499560145043f11a8977b7e743d1e6f (diff) | |
download | pfsense-packages-25d8e6574d8f46bd581af19f80977011790ab4ed.tar.gz pfsense-packages-25d8e6574d8f46bd581af19f80977011790ab4ed.tar.bz2 pfsense-packages-25d8e6574d8f46bd581af19f80977011790ab4ed.zip |
Unique function names.
Diffstat (limited to 'config/dnsblacklist')
-rw-r--r-- | config/dnsblacklist/dnsblacklist.inc | 8 | ||||
-rw-r--r-- | config/dnsblacklist/dnsblacklist.xml | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/config/dnsblacklist/dnsblacklist.inc b/config/dnsblacklist/dnsblacklist.inc index c667e62a..4ec8e095 100644 --- a/config/dnsblacklist/dnsblacklist.inc +++ b/config/dnsblacklist/dnsblacklist.inc @@ -59,13 +59,13 @@ function byte_convert( $bytes ) { -function php_sync_package() +function dnsblacklist_sync_package() { global $config; } -function php_install_command() +function dnsblacklist_install_command() { global $config; @@ -98,7 +98,7 @@ function php_install_command() // ) //); - //php_sync_package(); + //dnsblacklist_sync_package(); //$handle = popen("/usr/local/etc/rc.d/phpservice.sh start", "r"); //pclose($handle); @@ -111,7 +111,7 @@ function php_install_command() } -function deinstall_command() +function dnsblacklist_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 2f3e2996..1b7c29e5 100644 --- a/config/dnsblacklist/dnsblacklist.xml +++ b/config/dnsblacklist/dnsblacklist.xml @@ -96,15 +96,15 @@ <custom_add_php_command> </custom_add_php_command> <custom_php_resync_config_command> - php_sync_package(); + dnsblacklist_sync_package(); </custom_php_resync_config_command> <custom_delete_php_command> - php_sync_package(); + dnsblacklist_sync_package(); </custom_delete_php_command> <custom_php_install_command> - php_install_command(); + dnsblacklist_install_command(); </custom_php_install_command> <custom_php_deinstall_command> - deinstall_command(); + dnsblacklist_deinstall_command(); </custom_php_deinstall_command> </packagegui>
\ No newline at end of file |