style: 移除agt字符
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user