diff options
Diffstat (limited to 'xmc')
-rwxr-xr-x | xmc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,9 +1,9 @@ #!/bin/bash if [ $# -eq 0 ]; then - host="localhost" + xsh localhost mc +elif [ $# -eq 1 -a "$1" = "su" ]; then + xsh localhost mc su else - host="$1" + xsh $@ mc fi -shift -xsh $host mc $@ |