Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /!/bin/bash
- CMDMGR=/opt/microstrategy/alpha/bin/mstrcmdmgr
- LOGS=/mnt/install/swap_log/
- LOGFILE=db_swap.log
- CM_LOG=cm_db_swap.log
- SCPS=/mnt/install/scripts/cm_scripts
- host=$1
- myString=$(readlink /opt/microstrategy/alpha/odbc.ini | grep odbc1)
- size=${#myString}
- if [ "$size" -gt 0 ] && [ "$host"==*Linkwood* ]; then
- echo "jest"
- else
- echo "dupa"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement