From e73357ec940a870acc880ffb72673c50cdfcb249 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 9 Nov 2010 15:10:57 -0500 Subject: Unique function names --- config/tftp/tftp.inc | 10 +++++----- config/tftp/tftp.xml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'config') diff --git a/config/tftp/tftp.inc b/config/tftp/tftp.inc index ba77818a..9d06573c 100644 --- a/config/tftp/tftp.inc +++ b/config/tftp/tftp.inc @@ -53,7 +53,7 @@ function guid() //echo guid(); -function pkg_is_service_running($servicename) +function pkg_is_service_running($servicename) { exec("/bin/ps ax | awk '{ print $5 }'", $psout); array_shift($psout); @@ -80,7 +80,7 @@ function byte_convert( $bytes ) { } -function php_sync_package() +function tftp_sync_package() { //global $config; @@ -93,7 +93,7 @@ function php_sync_package() } -function php_install_command() +function tftp_install_command() { global $config; @@ -244,7 +244,7 @@ function php_install_command() ); - //php_sync_package(); + //tftp_sync_package(); $handle = popen("/usr/sbin/inetd", "r"); pclose($handle); @@ -258,7 +258,7 @@ function php_install_command() } -function php_deinstall_command() +function tftp_deinstall_command() { //prepare inetd.conf for tftp diff --git a/config/tftp/tftp.xml b/config/tftp/tftp.xml index 5a2cefa5..720ac212 100644 --- a/config/tftp/tftp.xml +++ b/config/tftp/tftp.xml @@ -77,15 +77,15 @@ - php_sync_package(); + tftp_sync_package(); - php_sync_package(); + tftp_sync_package(); - php_install_command(); + tftp_install_command(); - php_deinstall_command(); + tftp_deinstall_command(); \ No newline at end of file -- cgit v1.2.3