Merge branch 'main' into multi-tenant

This commit is contained in:
2024-07-30 11:38:06 +08:00
67 changed files with 2259 additions and 2509 deletions

View File

@@ -3,8 +3,8 @@
# Read the value of the variable from file
source /usr/local/omc/etc/omc.conf
C_ARG_LOWER="agt"
C_ARG_UPPER="AGT"
C_ARG_LOWER="omc"
C_ARG_UPPER="OMC"
M_ARG_LOWER="*"
check_args() {
@@ -17,9 +17,9 @@ check_args() {
if [ "${C_ARG_LOWER}" == "ba" ]; then
C_ARG_UPPER="BA"
sed -i 's/VENDORS=.*/VENDORS=BA/' /usr/local/omc/etc/omc.conf
elif [ "${C_ARG_LOWER}" == "agt" ]; then
C_ARG_UPPER="AGT"
sed -i 's/VENDORS=.*/VENDORS=AGT/' /usr/local/omc/etc/omc.conf
elif [ "${C_ARG_LOWER}" == "omc" ]; then
C_ARG_UPPER="OMC"
sed -i 's/VENDORS=.*/VENDORS=OMC/' /usr/local/omc/etc/omc.conf
fi
;;
m)