Advertisement
Guest User

asdqwe

a guest
Nov 26th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.31 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. CMDMGR=/opt/microstrategy/alpha/bin/mstrcmdmgr
  4. LOGS=/mnt/install/swap_log/
  5. LOGFILE=db_swap.log
  6. CM_LOG=cm_db_swap.log
  7. SCPS=/mnt/install/scripts/cm_scripts
  8. host=$1
  9.  
  10. myString=$(readlink odbc.ini | grep odbc1)
  11. size=${#myString}
  12.  
  13. if [ "$size" -gt 0 ] && [ "$host"==*Linkwood* ]; then
  14.     echo "jest"
  15. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement