vcpe/l2tp/pppd/contrib/pppgetpass/pppgetpass.sh

8 lines
99 B
Bash

#!/bin/sh
if [ -z "$DISPLAY" ]; then
exec pppgetpass.vt "$@"
else
exec pppgetpass.gtk "$@"
fi