1 2 3 4 5 6 7
#!/bin/sh if [ -z "$DISPLAY" ]; then exec pppgetpass.vt "$@" else exec pppgetpass.gtk "$@" fi