style: 移除agt字符

This commit is contained in:
TsMask
2024-07-29 18:26:01 +08:00
parent c9ec9287a5
commit a847d249ac
5 changed files with 9 additions and 9 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)