summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-08-06 16:43:40 +0000
committertron <tron@pkgsrc.org>2007-08-06 16:43:40 +0000
commit42fec02b086742f0a965783159675bd2e0e17ce2 (patch)
tree75f207716f5c826f4ad74a6b184bc504708b12b6
parenta577f25ac1536b5907cbdf9f1801586cd1e72599 (diff)
downloadpkgsrc-42fec02b086742f0a965783159675bd2e0e17ce2.tar.gz
Fix bugs in "rc.d" script, bump package revision.
-rw-r--r--x11/xdm/Makefile4
-rw-r--r--x11/xdm/files/xdm.sh7
2 files changed, 6 insertions, 5 deletions
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile
index ec0cc60272d..f30b96c7d1c 100644
--- a/x11/xdm/Makefile
+++ b/x11/xdm/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2007/08/06 15:56:09 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/08/06 16:43:40 tron Exp $
DISTNAME= xdm-1.1.4
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= x11
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/app/
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/xdm/files/xdm.sh b/x11/xdm/files/xdm.sh
index 136008b0a46..d2317ccef2c 100644
--- a/x11/xdm/files/xdm.sh
+++ b/x11/xdm/files/xdm.sh
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: xdm.sh,v 1.1.1.1 2007/08/06 14:56:33 tron Exp $
+# $NetBSD: xdm.sh,v 1.2 2007/08/06 16:43:40 tron Exp $
#
# PROVIDE: xdm
@@ -12,7 +12,8 @@ $_rc_subr_loaded . /etc/rc.subr
name="xdm"
rcvar=$name
xdm_config="/etc/X11/${name}/${name}-config"
-command="@PREFIX@/bin/${name} -config ${xdm_config}"
+command="@PREFIX@/bin/${name}"
+command_args="-config ${xdm_config}"
pidfile="/var/run/${name}.pid"
required_files="${xdm_config}"
extra_commands="reload"