opnsense-src/etc
Doug Barton ed52acf61d The change in r206686 to allow the stop argument to work for a service
that is running even though not _enable'd had an annoying side effect.
If the service was already started at boot time by another means when
the related script came around again in rcorder it would start again,
regardless of _enable, because there was a valid pid. [1]

So, split the test into 2 parts, one for (!rcvar && !stop), and one
for (stop && !valid_pid). This preserves the behavior from r206686
while preventing the undesired side effect.

PR:		conf/156427 [1]
Submitted by:	Eugene Grosbein <eugen@grosbein.pp.ru> [1]
2011-04-17 22:31:36 +00:00
..
bluetooth Correct BD_ADDR entry for "Dummy" device in the default hcsecd.conf. 2006-05-18 17:53:49 +00:00
defaults Add a daily period script to back up /var/db/pkg 2011-03-26 03:01:48 +00:00
devd Change usb devd events from fake attach to a notify. The ugen device is not a 2010-04-21 21:51:14 +00:00
etc.amd64 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.arm Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.i386 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.ia64 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.mips Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.pc98 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.powerpc Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.sparc64 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
gss Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
mail o Add user 'hast'. 2011-01-31 07:47:28 +00:00
mtree Remove libobjc and other Objective-C related components, as these are 2011-04-17 21:03:23 +00:00
namedb Add a note about AXFR of important zones being available from ICANN 2011-02-20 00:59:39 +00:00
pam.d Forgot to commit this change along with r219563: pam_group(8) now issues 2011-03-15 10:13:35 +00:00
periodic Hook the 220.backup-pkgdb script I added to the build unconditionally 2011-03-27 03:06:58 +00:00
ppp Remove COMPILATIONDATE from the default section. This string is no longer 2010-02-16 01:07:06 +00:00
rc.d Add startup script, to load rules from /etc/rctl.conf. 2011-03-30 18:32:45 +00:00
root Switch the default terminal emulation style to xterm for most platforms. 2009-11-13 05:54:55 +00:00
sendmail Minor changes to force commit these files so new freebsd*.cf files are 2010-01-26 04:44:12 +00:00
amd.map Switch default proto to TCP. 2006-11-06 01:42:11 +00:00
apmd.conf Use separate events for resume from standby and suspend in the apm(4) 2003-12-30 17:40:28 +00:00
auth.conf auth.conf seems to be being gradually subsumed by user classes 2003-07-28 02:28:51 +00:00
crontab Remove HOME= - this has surprised me several times in the past. 2009-06-14 06:37:19 +00:00
csh.cshrc $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
csh.login Change the commented msgs examples in profile/csh.login from -f to -q. 2010-05-15 17:49:56 +00:00
csh.logout $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
ddb.conf Use the new command file feature of ddb(8) to support setting ddb(4) 2008-03-05 18:32:58 +00:00
devd.conf Add example devd.conf entry. 2011-03-30 18:35:02 +00:00
devfs.conf Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
dhclient.conf o Spelling error s/suffient/sufficient/ 2001-10-27 03:14:37 +00:00
disktab Replace duplicate and not quite accurate capabilities 2006-10-14 16:39:03 +00:00
fbtab Add/adjust some $FreeBSD$ tags. 1999-09-13 17:09:08 +00:00
freebsd-update.conf Add support for backing up the old kernel when installing a new kernel 2009-08-19 20:47:31 +00:00
ftpusers o Add user 'hast'. 2011-01-31 07:47:28 +00:00
gettytab Fix spelling of "weirdo" in /etc/gettytab comment. 2010-07-12 19:09:18 +00:00
group Add 'hast' user and 'hast' group that will be used by hastd (and maybe hastctl) 2011-01-28 22:28:12 +00:00
hosts Re-add information for applying for IP space from a registry since that 2003-01-28 21:29:23 +00:00
hosts.allow Comment out lines that use example addresses and example.com names so 2006-08-29 09:20:48 +00:00
hosts.equiv $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hosts.lpd $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
inetd.conf Add -k to the recommended fingerd(8) command line. 2010-04-01 13:13:09 +00:00
libalias.conf Fix a regression: let natd load libalias modules before /usr is mounted 2006-10-08 14:02:00 +00:00
login.access Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
login.conf Remove vestiges of 'slip'. 2010-06-19 09:21:34 +00:00
mac.conf Add "socket" type to the list of default object types, and by 2003-11-15 02:08:01 +00:00
Makefile Flesh out WITHOUT_GROFF support to DTRT. 2011-02-22 08:13:49 +00:00
man.alias Remove aliases not needed for new man version 2001-06-26 00:41:07 +00:00
master.passwd Change hast user home directory to /var/empty. 2011-01-28 22:29:38 +00:00
minfree
motd Thanks to sysinstall for its 15 years of service. And now to sleep, 2011-03-14 13:47:17 +00:00
netconfig Change the name for the local unix-socket based protocol 2002-12-16 22:24:26 +00:00
netstart /etc/rc.d/network_ipv6 was deprecated. 2010-08-05 15:11:03 +00:00
network.subr Split $ipv6_prefer into $ip6addrctl_policy and $ipv6_activate_all_interfaces. 2010-09-13 19:55:40 +00:00
networks $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
newsyslog.conf Let rc and periodic infrastructure and newsyslog use the utmpx files. 2010-01-13 19:07:48 +00:00
nls.alias Old-promised removing of deprecated locale names 2003-06-10 01:22:30 +00:00
nscd.conf - Extend the nsswitch to support Services, Protocols and Rpc 2006-04-28 12:03:38 +00:00
nsmb.conf Bring in changes from smbfs-1.4.4. 2002-04-22 16:18:36 +00:00
nsswitch.conf Install /etc/nsswitch.conf statically rather than generating it at 2006-05-03 15:14:47 +00:00
ntp.conf 1) Use our vendor domain at the pool. 2009-07-13 05:51:33 +00:00
opieaccess Back out previous commit now that pam_opieaccess(8) has an allow_local 2003-02-16 13:04:27 +00:00
pccard_ether Implement a "quiet" mode for rc.d/netif, which only outputs 2008-06-23 20:50:11 +00:00
pf.os Synchronize pf.os with OpenBSD. 2006-10-23 05:09:44 +00:00
phones Kill the default phone numbers. 2006-08-31 21:13:12 +00:00
portsnap.conf Remove INDEX-6 from the default portsnap configuration file; the 6.x index 2010-12-30 01:13:42 +00:00
printcap Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
profile Change the commented msgs examples in profile/csh.login from -f to -q. 2010-05-15 17:49:56 +00:00
protocols Update /etc/protocols with IANA list updated 2007-02-12 2007-05-20 03:55:22 +00:00
rc Remove pointless informational message. 2008-06-23 04:18:22 +00:00
rc.bsdextended Clean up, comment out non-base utilities, fix up comments. 2006-04-22 11:02:44 +00:00
rc.firewall Remove trailing white space. No functional changes. 2010-05-14 04:53:57 +00:00
rc.initdiskless Remove trailing white space. No functional changes. 2010-05-14 04:53:57 +00:00
rc.resume Consistently use full pathnames for external commands. 2010-08-13 21:23:13 +00:00
rc.sendmail Before trying to restart/stop the MTA or MSP queue runner, make sure 2003-10-19 00:31:50 +00:00
rc.shutdown Instead of killing the 'watchdog' subshell and leaving a sleep for 2009-01-25 10:31:45 +00:00
rc.subr The change in r206686 to allow the stop argument to work for a service 2011-04-17 22:31:36 +00:00
rc.suspend Consistently use full pathnames for external commands. 2010-08-13 21:23:13 +00:00
regdomain.xml Remove trailing white space. No functional changes. 2010-05-14 04:53:57 +00:00
remote Add ucomX shortcuts just like its uart sibling. 2008-10-27 17:19:14 +00:00
rpc Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
services Add for existing protocol entries the missing SCTP port allocations 2010-11-13 17:52:04 +00:00
shells remove last empty line 2000-04-27 21:58:46 +00:00
snmpd.config Add (disabled) sample configuration lines needed to enable snmp_target(3) module 2010-12-20 17:28:15 +00:00
sysctl.conf Rework the wording of the comment for the security.bsd.see_other_uids 2003-03-13 18:43:50 +00:00
syslog.conf syslog.conf: pop up from logging only ppp messages at the end of file 2009-06-11 15:07:02 +00:00
termcap.small Fix termcap entry typo. 2011-02-09 10:06:31 +00:00