Adapt after recent rc.subr changes.
You will need a very current su(1) and /etc/rc.subr.
This commit is contained in:
parent
8c14c39747
commit
d725b0742f
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.91 2010/11/29 14:17:33 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.92 2010/12/11 07:40:21 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -7,7 +7,7 @@ COMMENT= GNOME display manager
|
||||
GNOME_PROJECT= gdm
|
||||
GNOME_VERSION= 2.20.11
|
||||
|
||||
REVISION= 11
|
||||
REVISION= 12
|
||||
|
||||
HOMEPAGE= http://projects.gnome.org/gdm/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: gdm.rc,v 1.3 2010/11/25 15:27:30 ajacoutot Exp $
|
||||
# $OpenBSD: gdm.rc,v 1.4 2010/12/11 07:40:21 ajacoutot Exp $
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
@ -8,7 +8,8 @@ daemon="${TRUEPREFIX}/sbin/gdm"
|
||||
pexp="${TRUEPREFIX}/sbin/gdm-binary"
|
||||
|
||||
rc_start() {
|
||||
(sleep 5; ${daemon})&
|
||||
(sleep 5; su -c ${_rcclass:-daemon} -s ${_rcshell:-/bin/sh} \
|
||||
${_rcuser:-root} -c "${daemon} ${daemon_flags}" >/dev/null)&
|
||||
}
|
||||
|
||||
rc_reload() {
|
||||
|
Loading…
Reference in New Issue
Block a user