diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-06-10 02:13:44 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-06-10 02:13:44 +0000 |
commit | 6c325dc76a74dc0667138048eb9702d2323faba4 (patch) | |
tree | 479223e2192ba2786ea237bc24944dcea39364dd /x11/gdm | |
parent | - disable SpeedyCGI support by default. It needs suidperl and will cause some (diff) |
Improve the startup script:
- Remove useless start_cmd/stop_cmd
- Set procname (unbreaks status)
Notes
Notes:
svn path=/head/; revision=137136
Diffstat (limited to 'x11/gdm')
-rw-r--r-- | x11/gdm/Makefile | 2 | ||||
-rw-r--r-- | x11/gdm/files/gdm.sh.in | 13 |
2 files changed, 2 insertions, 13 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 27e6e8de6016..59baec73029f 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -7,7 +7,7 @@ PORTNAME= gdm PORTVERSION= 2.6.0.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.6 diff --git a/x11/gdm/files/gdm.sh.in b/x11/gdm/files/gdm.sh.in index 2fd88f7187ca..b3a1a3b00631 100644 --- a/x11/gdm/files/gdm.sh.in +++ b/x11/gdm/files/gdm.sh.in @@ -11,20 +11,9 @@ gdm_enable=${gdm_enable-"NO"} name=gdm rcvar=`set_rcvar` -start_cmd=gdm_start -stop_cmd=gdm_stop command="%%PREFIX%%/bin/${name}" pidfile="/var/run/${name}.pid" - -gdm_start() { - checkyesno gdm_enable && echo -n " Starting GDM" && \ - ${command} -} - -gdm_stop() { - checkyesno gdm_enable && echo -n " Stopping GDM" && \ - /usr/bin/killall -m ${name} 2>/dev/null -} +procname="%%PREFIX%%/bin/gdm-binary" load_rc_config ${name} run_rc_command "$1" |