diff options
-rw-r--r-- | x11/xdm/Makefile | 2 | ||||
-rw-r--r-- | x11/xdm/files/xdm.in | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile index f828df33c99b..2f86e3a665b0 100644 --- a/x11/xdm/Makefile +++ b/x11/xdm/Makefile @@ -1,6 +1,6 @@ PORTNAME= xdm PORTVERSION= 1.1.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MAINTAINER= x11@FreeBSD.org diff --git a/x11/xdm/files/xdm.in b/x11/xdm/files/xdm.in index 182911e97848..dae4a2a40039 100644 --- a/x11/xdm/files/xdm.in +++ b/x11/xdm/files/xdm.in @@ -26,11 +26,13 @@ desc="X.org X display manager" load_rc_config $name : ${xdm_enable:=NO} -: ${xdm_tty:=ttyv8} +: ${xdm_tty:=default} command=%%PREFIX%%/bin/$name pidfile=/var/run/$name.pid -start_precmd=xdm_set_vty +if [ "${xdm_tty%%[0-9]*}" = "ttyv" ]; then + start_precmd=xdm_set_vty +fi xdm_set_vty() { |