summaryrefslogtreecommitdiff
path: root/usr.sbin/rcctl
AgeCommit message (Expand)Author
2015-01-12Make it possible to reset "timeout" to the default value.Antoine Jacoutot
2015-01-12"timeout" must be a positive integer.Antoine Jacoutot
2015-01-08"default" is gone.Antoine Jacoutot
2015-01-08Clarify and simplify.Antoine Jacoutot
2015-01-07Tweaks from jmc@Antoine Jacoutot
2015-01-07Start tweaking a bit.Antoine Jacoutot
2015-01-06Simplify special vars argument checking; invalidating some bogus constructsAntoine Jacoutot
2015-01-06While on death-row, 'rcctl status' still is still allowed for now -- soAntoine Jacoutot
2015-01-06Sync with new rcctl usage. Will get some much needed love within the nextAntoine Jacoutot
2015-01-06Rename some internal variables (flag and flags is way too error-prone):Antoine Jacoutot
2015-01-06Major rcctl(8) rewrite to simplify it and add new features. It can nowAntoine Jacoutot
2015-01-01Drop redundant FUNCS_ONLY.Antoine Jacoutot
2014-12-30Rename a few functions name. Will help factorize some stuffs.Antoine Jacoutot
2014-12-30do not print an empty order in case pkg_scripts is undefinedRobert Nagy
2014-12-30add_flags() does not need any action argument.Antoine Jacoutot
2014-12-29document ordering more explicitly;Ingo Schwarze
2014-12-24Implement some kind ordering in the startup of package script daemons.Antoine Jacoutot
2014-12-23Consistency: put variables between curly braces.Antoine Jacoutot
2014-11-01Simplify.Antoine Jacoutot
2014-10-31Make default output matches status. Hackish but we are not allowed toAntoine Jacoutot
2014-10-31Useless use of sed(1).Antoine Jacoutot
2014-10-27Ensure proper separation of grep's options and rcctl options thatRobert Peichaer
2014-10-15Add a new ls_rcscripts() function to properly get all rc.d(8) scriptsAntoine Jacoutot
2014-10-13Carefully quote the flags argument such that leading blank charactersIngo Schwarze
2014-10-13document the "default" subcommand more precisely;Ingo Schwarze
2014-10-11Fix a small bug in rcctl status <daemon>:Ingo Schwarze
2014-10-11Add a new "default" command to display the default flags and whether aAntoine Jacoutot
2014-10-10Actually use built-in print like rc.subr already does.Antoine Jacoutot
2014-10-10Use printf(1) to prevent '-e' in daemon_flags from being fed as anAntoine Jacoutot
2014-10-10Allow passing flags without arguments for special variables.Antoine Jacoutot
2014-09-01Fix evil typo.Antoine Jacoutot
2014-08-31Add Ingo's copyright as per his request.Antoine Jacoutot
2014-08-31No need to update daemon_flags in the enviroment anymore since theAntoine Jacoutot
2014-08-31Document that exit code 2 indicates a non-existent service.Antoine Jacoutot
2014-08-30When a service is not available, return ENOENT.Antoine Jacoutot
2014-08-29Additional input validation:Ingo Schwarze
2014-08-29Simplify append_to_pkg_scripts(), in particular avoid the expensiveIngo Schwarze
2014-08-29Document the fact that 'enable' can also be used to modify flags even ifAntoine Jacoutot
2014-08-28Drop check and tweak comment.Antoine Jacoutot
2014-08-28Simplify.Antoine Jacoutot
2014-08-28Consistency in conditionals; no functional change.Antoine Jacoutot
2014-08-27Disentangle svc_default_enabled_flags() and svc_get_flags().Ingo Schwarze
2014-08-26Simplify the function add_flags().Ingo Schwarze
2014-08-25Base system special services have no flags, so move the test for themIngo Schwarze
2014-08-25get rid of the tempfile in svc_default_enabled_flags();Ingo Schwarze
2014-08-25rc.d scripts are shell scripts and need to be sourced in svc_get_flags().Antoine Jacoutot
2014-08-25For functions that take args, return immediately if no args is passed.Antoine Jacoutot
2014-08-25Cope with some weird rc.conf.local file like "foobar" in pkg_scriptsAntoine Jacoutot
2014-08-25Simplify rm_from_pkg_scripts(); minus ten lines; no functional change;Ingo Schwarze
2014-08-25Display usage on 2 lines.Antoine Jacoutot