title: Call Function in BASH Script using If/Then/Else Statement
body: <p>I'm trying to call a function in script by using an if/then/else statement, but I keep getting no output when I run it.  For example:</p>
  
  <pre><code>    start()
      {
      if [ -z /etc/redhat-release ]
         then mta
      else cron
      fi
      }
  
      mta()
      {
      exim -bpc
      }
  
      cron()
      {
      crontab -l
      }
  </code></pre>
  
  <p>Is this possible to do in BASH?</p>