summaryrefslogtreecommitdiff
path: root/xmc
blob: 1fa1e549df69dfc9d9bb758b3326697bb36eda41 (plain)
  1. #!/bin/bash
  2. if [ $# -eq 0 ]; then
  3. xsh localhost mc
  4. elif [ $# -eq 1 -a "$1" = "su" ]; then
  5. xsh localhost mc su
  6. else
  7. xsh $@ mc
  8. fi