aboutsummaryrefslogtreecommitdiffstats
path: root/config/shellcmd
diff options
context:
space:
mode:
Diffstat (limited to 'config/shellcmd')
-rw-r--r--config/shellcmd/shellcmd.inc10
-rw-r--r--config/shellcmd/shellcmd.xml8
2 files changed, 9 insertions, 9 deletions
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 @@
<custom_add_php_command>
</custom_add_php_command>
<custom_php_resync_config_command>
- php_sync_package();
+ shellcmd_sync_package();
</custom_php_resync_config_command>
<custom_delete_php_command>
- php_sync_package();
+ shellcmd_sync_package();
</custom_delete_php_command>
<custom_php_install_command>
- php_install_command();
+ shellcmd_install_command();
</custom_php_install_command>
<custom_php_deinstall_command>
- deinstall_command();
+ shellcmd_deinstall_command();
</custom_php_deinstall_command>
</packagegui> \ No newline at end of file