Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 1999 01:43:45 +0200 
From:      "Lowkrantz, Goran" <Goran.Lowkrantz@infologigruppen.se>
To:        freebsd-stable@FreeBSD.ORG
Subject:   rc variables
Message-ID:  <B500F74C6527D311B61F0000C0DF5ADC07ED67@valhall.ign.se>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01BEF7F8.80AB7D28
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,

When looking around in the rc-files to se how they work, I found that most
of  the deamons I want to change on my systems have rc-variables for the
image path, but I three of the more commonly replaced deamons, syslogd,
inetd and sendmail, didn't. I include the minute patches needed to add them
to /etc/rc and /etc/defaults/rc.conf.

Cheers,
	GLZ
---
Goran Lowkrantz         Email    : goran.lowkrantz@infologigruppen.se
Infologigruppen Alfa AB Telephone: Nat    070-587 8782 Fax: Nat    070-615
8782
Box 202                            Int +46 70-587 8782      Int +46 70-615
8782
941 25 Pitea,  Sweden   

 <<rc.conf.patch>>  <<rc.patch>> 

------_=_NextPart_000_01BEF7F8.80AB7D28
Content-Type: application/octet-stream;
	name="rc.conf.patch"
Content-Disposition: attachment;
	filename="rc.conf.patch"

*** defaults/rc.conf.orig	Mon Sep  6 00:40:54 1999
--- defaults/rc.conf	Mon Sep  6 00:42:59 1999
***************
*** 66,73 ****
--- 66,75 ----
  
  ### Network daemon (miscellaneous) & NFS options: ###
  syslogd_enable="YES"		# Run syslog daemon (or NO).
+ syslogd_program="syslogd"	# path to syslogd, if you want a different one.
  syslogd_flags=""		# Flags to syslogd (if enabled).
  inetd_enable="YES"		# Run the network daemon dispatcher (or NO).
+ inetd_program="inetd"		# path to inetd, if you want a different one.
  inetd_flags="-wW"		# Optional flags to inetd.
  #
  # named.  It may be possible to run named in a sandbox, man security for
***************
*** 200,205 ****
--- 202,208 ----
  usbd_enable="NO"	# Run the usbd daemon.
  usbd_flags=""		# Flags to usbd (if enabled).
  sendmail_enable="YES"	# Run the sendmail daemon (or NO).
+ sendmail_program="/usr/sbin/sendmail"	# path to sendmail, if you want a different one.
  sendmail_flags="-bd -q30m" # Flags to sendmail (if enabled)
  dumpdev="NO"		# Device name to crashdump to (if enabled).
  enable_quotas="NO"      # turn on quotas on startup (or NO).

------_=_NextPart_000_01BEF7F8.80AB7D28
Content-Type: application/octet-stream;
	name="rc.patch"
Content-Disposition: attachment;
	filename="rc.patch"

*** rc.orig	Mon Sep  6 00:43:12 1999
--- rc	Mon Sep  6 00:44:17 1999
***************
*** 226,232 ****
  	fi
  
  	rm -f /var/run/log
! 	echo -n ' syslogd';		syslogd ${syslogd_flags}
  fi
  echo '.'
  
--- 226,232 ----
  	fi
  
  	rm -f /var/run/log
! 	echo -n ' syslogd';		${syslogd_program} ${syslogd_flags}
  fi
  echo '.'
  
***************
*** 315,321 ****
  #
  echo -n starting standard daemons:
  if [ "X${inetd_enable}" != X"NO" ]; then
! 	echo -n ' inetd';	inetd ${inetd_flags}
  fi
  
  if [ "X${cron_enable}" != X"NO" ]; then
--- 315,321 ----
  #
  echo -n starting standard daemons:
  if [ "X${inetd_enable}" != X"NO" ]; then
! 	echo -n ' inetd';	${inetd_program} ${inetd_flags}
  fi
  
  if [ "X${cron_enable}" != X"NO" ]; then
***************
*** 327,333 ****
  fi
  
  if [ "X${sendmail_enable}" = X"YES" -a -r /etc/sendmail.cf ]; then
! 	echo -n ' sendmail';	/usr/sbin/sendmail ${sendmail_flags}
  fi
  
  if [ "X${usbd_enable}" = X"YES" ]; then
--- 327,333 ----
  fi
  
  if [ "X${sendmail_enable}" = X"YES" -a -r /etc/sendmail.cf ]; then
! 	echo -n ' sendmail';	${sendmail_program} ${sendmail_flags}
  fi
  
  if [ "X${usbd_enable}" = X"YES" ]; then

------_=_NextPart_000_01BEF7F8.80AB7D28--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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