Commit graph

6 commits

Author SHA1 Message Date
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Philip M. Gollucci
1e7a0635fd - Fix a typo in comments in rc.d script
PR:             ports/143555
Submitted by:   M@FreeBSD.org, van Zadelhoff <mike@ironmikie.nl>
Approved by:    rfarmer@predatorlabs.net (maintainer)
2010-02-10 03:01:41 +00:00
Philip M. Gollucci
03671d92fe - Fix rc.d script for chroot functionality (thanks to Doug Barton for help with this)
- Switch an empty #elif to #else to please GCC 4.4
- Submitter is now MAINTAINER

PR:             ports/142764
Submitted by:   Rob Farmer <rfarmer@predatorlabs.net>
2010-01-15 02:44:01 +00:00
Pav Lucistnik
1c286a97e0 - Update to 4.8
PR:		ports/121651
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Approved by:	maintainer timeout (rushani; 3 weeks)
2008-04-03 14:14:28 +00:00
Edwin Groothuis
6c06b5f993 scponlyc sftp support doesn't work without minimal devfs in chroot dir
I'm finding that recently-created scponlyc chroots do not
	provide a sufficient environment for /usr/libexec/sftp-server
	to run. The sftp client symptom is just:

	$ sftp user@www
	Connecting to www...
	Password:
	Connection closed
	$

	The cause appears to be that recent versions of
	/usr/libexec/sftp-server will complain about of lack of
	access to /dev/null and exit, resulting in the closed
	connection witnessed by the remote client.

	The solution appears to be to create a devfs in the scponlyc
	chroot.

	To automatically create at boot time a devfs in the home
	directory of each user of scponlyc, I have chosen to put a
	script in /usr/local/etc/rc.d.

PR:		ports/108009
Submitted by:	Jim Long <list@museum.rain.com>
Approved by:	maintainer timeout
2007-10-03 13:07:09 +00:00