@@ -24,7 +24,8 @@ function amh_module_install()
|
||||
echo '[Error] HYProxy 未安装.';
|
||||
exit;
|
||||
fi;
|
||||
touch ./InstallComplete;
|
||||
cd /root/amh/modules/AMProxy-2.0;
|
||||
touch ./InstallComplete;
|
||||
amh_module_status;
|
||||
fi;
|
||||
}
|
||||
@@ -58,7 +59,7 @@ function amh_module_admin()
|
||||
|
||||
case $action in
|
||||
list)
|
||||
echo "list something";
|
||||
php ${module_dir}cli.php --action='list';
|
||||
;;
|
||||
start)
|
||||
echo "start something";
|
||||
|
||||
Reference in New Issue
Block a user