Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2014 06:23:01 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r270780 - in head/etc: defaults rc.d
Message-ID:  <201408290623.s7T6N1eP052540@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Fri Aug 29 06:23:00 2014
New Revision: 270780
URL: http://svnweb.freebsd.org/changeset/base/270780

Log:
  Fix rc.d/gssd script to define the default values in a standard way.

Modified:
  head/etc/defaults/rc.conf
  head/etc/rc.d/gssd

Modified: head/etc/defaults/rc.conf
==============================================================================
--- head/etc/defaults/rc.conf	Fri Aug 29 02:21:02 2014	(r270779)
+++ head/etc/defaults/rc.conf	Fri Aug 29 06:23:00 2014	(r270780)
@@ -282,6 +282,7 @@ kfd_enable="NO"			# Run kfd (or NO)
 kfd_program="/usr/libexec/kfd"	# path to kerberos 5 kfd daemon
 
 gssd_enable="NO"		# Run the gssd daemon (or NO).
+gssd_program="/usr/sbin/gssd"	# Path to gssd.
 gssd_flags=""			# Flags for gssd.
 
 rwhod_enable="NO"		# Run the rwho daemon (or NO).

Modified: head/etc/rc.d/gssd
==============================================================================
--- head/etc/rc.d/gssd	Fri Aug 29 02:21:02 2014	(r270779)
+++ head/etc/rc.d/gssd	Fri Aug 29 06:23:00 2014	(r270780)
@@ -9,10 +9,8 @@
 
 . /etc/rc.subr
 
-name="gssd"
+name=gssd
+rcvar=gssd_enable
 
 load_rc_config $name
-rcvar="gssd_enable"
-command="${gssd:-/usr/sbin/${name}}"
-eval ${name}_flags=\"${gssd_flags}\"
 run_rc_command "$1"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408290623.s7T6N1eP052540>