findkampath.sh 157 B

123456789101112
  1. #!/bin/sh
  2. if test -x /usr/sbin/kamailio
  3. then
  4. echo "/usr/sbin"
  5. exit 0
  6. fi
  7. if test -x /usr/local/sbin/kamailio
  8. then
  9. echo "/usr/local/sbin"
  10. exit 0
  11. fi
  12. exit 1