aboutsummaryrefslogtreecommitdiffstats
path: root/config/denyhosts
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-11-09 14:52:32 -0500
committerjim-p <jimp@pfsense.org>2010-11-09 14:52:32 -0500
commit8ca5710af46e370e91abc319cc5568cbc9d7ff4f (patch)
tree6b3233696c266302fbac9345a2d6fc49905d1d5b /config/denyhosts
parent56c7473bf7c1d08868846aa765f357e9f0b3aef4 (diff)
downloadpfsense-packages-8ca5710af46e370e91abc319cc5568cbc9d7ff4f.tar.gz
pfsense-packages-8ca5710af46e370e91abc319cc5568cbc9d7ff4f.tar.bz2
pfsense-packages-8ca5710af46e370e91abc319cc5568cbc9d7ff4f.zip
Unique function names
Diffstat (limited to 'config/denyhosts')
-rw-r--r--config/denyhosts/denyhosts.inc8
-rw-r--r--config/denyhosts/denyhosts.xml8
2 files changed, 8 insertions, 8 deletions
diff --git a/config/denyhosts/denyhosts.inc b/config/denyhosts/denyhosts.inc
index 51124f62..8a862e01 100644
--- a/config/denyhosts/denyhosts.inc
+++ b/config/denyhosts/denyhosts.inc
@@ -31,7 +31,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
-function php_sync_package()
+function denyhosts_sync_package()
{
//global $config;
@@ -45,7 +45,7 @@ function php_sync_package()
// http://en.wikipedia.org/wiki/DenyHosts
-function php_install_command()
+function denyhosts_install_command()
{
global $config;
@@ -149,7 +149,7 @@ function php_install_command()
)
);
- php_sync_package();
+ denyhosts_sync_package();
//start denyhosts
exec("/usr/local/etc/rc.d/denyhosts.sh start");
@@ -164,7 +164,7 @@ function php_install_command()
}
-function deinstall_command()
+function denyhosts_deinstall_command()
{
conf_mount_rw();
diff --git a/config/denyhosts/denyhosts.xml b/config/denyhosts/denyhosts.xml
index 9562a9d6..53658a7a 100644
--- a/config/denyhosts/denyhosts.xml
+++ b/config/denyhosts/denyhosts.xml
@@ -107,15 +107,15 @@
<custom_add_php_command>
</custom_add_php_command>
<custom_php_resync_config_command>
- php_sync_package();
+ denyhosts_sync_package();
</custom_php_resync_config_command>
<custom_delete_php_command>
- php_sync_package();
+ denyhosts_sync_package();
</custom_delete_php_command>
<custom_php_install_command>
- php_install_command();
+ denyhosts_install_command();
</custom_php_install_command>
<custom_php_deinstall_command>
- deinstall_command();
+ denyhosts_deinstall_command();
</custom_php_deinstall_command>
</packagegui> \ No newline at end of file