summaryrefslogtreecommitdiff
path: root/etc/rc.d/rc.subr
AgeCommit message (Expand)Author
2016-04-27Revert the revert and match on the daemon_user again.Antoine Jacoutot
2016-04-27Revert matching on the daemon user for now; it breaks sndiod handling whichAntoine Jacoutot
2016-04-26Bump copyright.Antoine Jacoutot
2016-04-26Introduce rtable(4) support to rc.subr(8).Antoine Jacoutot
2016-04-26Extend _RC_RUNFILE (/var/run/rc.d/scriptname) content with:Antoine Jacoutot
2016-03-26Make it possible to get usage as a non-root user.Antoine Jacoutot
2016-03-26Handle the rc_stop=NO => rc_restart=NO case within _rc_not_supported().Antoine Jacoutot
2015-12-21Revert, rc.d scripts have been fixed.Antoine Jacoutot
2015-12-21Comment the wait for start until I fix the x11 managers rc.d script.Antoine Jacoutot
2015-12-19After starting, unconditionally wait up to $daemon_timeout seconds to check thatAntoine Jacoutot
2015-12-19Tidy up _rc_wait().Antoine Jacoutot
2015-12-05It does not make sense to insert a specific route for 224/4 when theMartin Pieuchot
2015-10-16Missing local.Antoine Jacoutot
2015-07-15By default, require an exact match of the process name and argument list.Antoine Jacoutot
2015-07-15Always use the default flags when running !start.Antoine Jacoutot
2015-07-15Merge comments.Antoine Jacoutot
2015-06-17Really make daemon_class read-only; it's set to "daemon" of a matchingAntoine Jacoutot
2015-05-02No more pf_rules ipsec_rules.Antoine Jacoutot
2015-04-29Check arguments before eval so we don't end up with a cryptic error message.Antoine Jacoutot
2015-03-28_rc_err(): only display error message if there's an actual one.Antoine Jacoutot
2015-01-02Fix return code of _rc_quirks().Antoine Jacoutot
2015-01-02Add a comment about the default values being duplicated in rcctl(8).Antoine Jacoutot
2014-11-17"reload" should fail if the service is not running in the first place.Antoine Jacoutot
2014-08-30Make it possible to pass a specific error code to _rc_err().Antoine Jacoutot
2014-08-25Put _rc_err argument under quotes to respect the syntax we are passing.Antoine Jacoutot
2014-08-24Fix reversed logic.Antoine Jacoutot
2014-08-24Drop uneeded parenthesis in usage().Antoine Jacoutot
2014-08-24Drop unused variables.Antoine Jacoutot
2014-08-24In debug mode, make it clear when we are using the default flags whenAntoine Jacoutot
2014-08-24In debug mode (`-d'), only print the flags relevant to the rc.d(8) we areAntoine Jacoutot
2014-08-21Drop sanitation, _rc_parse_conf does this for us already.Antoine Jacoutot
2014-08-17When running interactively, display the output of the "check" actionAntoine Jacoutot
2014-08-11Typo.Antoine Jacoutot
2014-08-11Let _rc_parse_conf stick to parsing /etc/rc.conf and /etc/rc.conf.localMatthias Kilian
2014-08-11Make it possible to pass arguments to _rc_parse_conf().Antoine Jacoutot
2014-08-01Don't return, just skip over non existing rc.conf or rc.conf.local file.Robert Peichaer
2014-07-31In debug mode, properly sort and drop duplicates so that we don't endAntoine Jacoutot
2014-07-30Fix evil typo (multicast_hosts -> multicast_host).Antoine Jacoutot
2014-07-12replace the heavy shell magic in quirks to handle backward compat with simplerRobert Nagy
2014-07-12Make rc.conf a parsed configuration file and stop sourcing it as a shellRobert Nagy
2014-07-09Add a daemon_timeout variable for rc_wait().Antoine Jacoutot
2014-07-09White spaces.Antoine Jacoutot
2013-07-11no double negatives in error message; ok aja@Otto Moerbeek
2013-04-04Show only available actions in RC script usage messages.Vadim Zhukov
2012-11-19Remove useless test: rc_rm_runfile() uses rm -f which always returns 0Antoine Jacoutot
2012-11-18Don't output "$action is not supported" when running an rc.d(8) scriptAntoine Jacoutot
2012-11-12Don't check if ${local_rcconf} is defined before sourcing rc.conf but doAntoine Jacoutot
2012-09-13Simplify the way we call the rc.d(8) script in "restart".Antoine Jacoutot
2012-09-01Make '-f' only affects the "start" action.Antoine Jacoutot
2012-08-21Use the new "-q" option of pgrep(1) instead of redirecting stdoutAntoine Jacoutot