From e284125663f36249ac6ee8c16e5b09878a035307 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 9 Nov 2010 15:13:40 -0500 Subject: Unique function names. --- config/shellcmd/shellcmd.inc | 10 +++++----- config/shellcmd/shellcmd.xml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'config/shellcmd') diff --git a/config/shellcmd/shellcmd.inc b/config/shellcmd/shellcmd.inc index cd46ada5..4d9a82ca 100644 --- a/config/shellcmd/shellcmd.inc +++ b/config/shellcmd/shellcmd.inc @@ -33,7 +33,7 @@ require("services.inc"); -function pkg_is_service_running($servicename) +function pkg_is_service_running($servicename) { exec("/bin/ps ax | awk '{ print $5 }'", $psout); array_shift($psout); @@ -48,7 +48,7 @@ function pkg_is_service_running($servicename) } } -function php_sync_package() +function shellcmd_sync_package() { global $config; @@ -62,7 +62,7 @@ function php_sync_package() } -function php_install_command() +function shellcmd_install_command() { global $config; @@ -91,7 +91,7 @@ function php_install_command() // ) //); - php_sync_package(); + shellcmd_sync_package(); //if (pkg_is_service_running('shellcmd')) { //documentation purposes @@ -103,7 +103,7 @@ function php_install_command() } -function deinstall_command() +function shellcmd_deinstall_command() { conf_mount_rw(); diff --git a/config/shellcmd/shellcmd.xml b/config/shellcmd/shellcmd.xml index a4b67c7a..f478a6c2 100644 --- a/config/shellcmd/shellcmd.xml +++ b/config/shellcmd/shellcmd.xml @@ -101,15 +101,15 @@ - php_sync_package(); + shellcmd_sync_package(); - php_sync_package(); + shellcmd_sync_package(); - php_install_command(); + shellcmd_install_command(); - deinstall_command(); + shellcmd_deinstall_command(); \ No newline at end of file -- cgit v1.2.3