Date: Sun, 16 Nov 2014 00:27:22 +0100 From: Christer Solskogen <christer.solskogen@gmail.com> To: Sergey Kandaurov <pluknet@gmail.com> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: Typo in /etc/rc.d/jail ? Message-ID: <CAMVU60bD3LiueO%2BAdo_pNc=X6Mn3hv=v5ASBKfZA4O9uVuD9dA@mail.gmail.com> In-Reply-To: <CAE-mSOJ3=EruVY7GJOxwiPLA3Wz%2Bq3mYPVZ384PPj2b867KhMQ@mail.gmail.com> References: <m48d21$ecj$1@ger.gmane.org> <CAE-mSOJ3=EruVY7GJOxwiPLA3Wz%2Bq3mYPVZ384PPj2b867KhMQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 15, 2014 at 11:52 PM, Sergey Kandaurov <pluknet@gmail.com> wrote: > On 15 November 2014 23:28, Christer Solskogen > <christer.solskogen@gmail.com> wrote: >> $ /etc/rc.d/jail >> Usage: /etc/rc.d/jail >> [fast|force|one|quiet](start|stop|restart|rcvar|enabled|config|console|status|status|poll) >> >> status is mentioned twice. >> > > I believe this is the cause: > > Index: etc/rc.d/jail > =================================================================== > --- etc/rc.d/jail (revision 273814) > +++ etc/rc.d/jail (working copy) > @@ -19,7 +19,7 @@ > config_cmd="jail_config" > console_cmd="jail_console" > status_cmd="jail_status" > -extra_commands="config console status" > +extra_commands="config console" > : ${jail_conf:=/etc/jail.conf} > : ${jail_program:=/usr/sbin/jail} > : ${jail_consolecmd:=/usr/bin/login -f root} > > i.e., status is automatically supported. > Agreed. I figured that out myself :-) Probably something to patch in stable/10 if it's not already done. -- chs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMVU60bD3LiueO%2BAdo_pNc=X6Mn3hv=v5ASBKfZA4O9uVuD9dA>