summaryrefslogtreecommitdiff
path: root/xmc
blob: 193a667a6cc05977de8833e566cf31aa0460dfd9 (plain)
  1. #!/bin/bash
  2. if [ $# -eq 0 ]; then
  3. xsh - mc
  4. else
  5. if [ $# -eq 1 -a "x$1" = "xsu" ]; then
  6. xsh - mc su
  7. # exec xsh - mc su
  8. else
  9. xsh $@ mc
  10. # exec xsh $@ mc
  11. fi
  12. fi