#!/bin/sh # Import some terminals configurations from the floppy to /var/xterminals if [ "$1" = "--label" ] ; then mtype a:terms.txt elif [ "$1" = "--import" ] ; then if [ "$2" = "--overwrite" ] ; then OVER= else OVER=k fi cd /var/xterminals mtype a:terms.tgz | gunzip | tar ${OVER}xf - else echo xterminals-import --label: print the label >&2 echo xterminals-import --import [--overwrite]: Install the terminal configurations >&2 fi