summaryrefslogtreecommitdiff
path: root/etc/rc.d/rc.subr
AgeCommit message (Expand)Author
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
2012-08-13unset _rcflags and _rcuser so that they don't get inherited by rc.d(8)Antoine Jacoutot
2012-08-13Set the daemon_class as readonly as it should be (and is documented asAntoine Jacoutot
2012-08-11Make a couple of variables local.Antoine Jacoutot
2012-08-04Add a new rc_usercheck variable (default to YES). When set to no, rootAntoine Jacoutot
2012-07-07Simplify rc_wait() (no functionnal change).Antoine Jacoutot
2012-05-30in -d mode, display an error message before exiting, in the case theMarc Espie
2011-11-30Fix an issue when uid != euid (e.g. when running shutdown(8) as aAntoine Jacoutot