summaryrefslogtreecommitdiff
path: root/usr.sbin/rcctl/rcctl.sh
AgeCommit message (Expand)Author
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-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-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-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-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
2014-08-24Delete the function svc_get_all().Ingo Schwarze
2014-08-24Whitelisting allowed services is safer and less confusing thanIngo Schwarze
2014-08-24Start all error messages with "rcctl: " such that it is clear whereIngo Schwarze
2014-08-24Add a comment to unconfuse Ingo :-)Antoine Jacoutot
2014-08-24Drop obvious comments.Antoine Jacoutot
2014-08-24reduce indentation of main program by one tab, no functional changeIngo Schwarze
2014-08-24Fix args to needs_root() when using "disable" (broken in the v1.9Antoine Jacoutot
2014-08-24Since rcctl(8) can changes the position of such and such variable, sortAntoine Jacoutot
2014-08-24Make it possible to pass `-d' and `-f' to the rc.d(8) script.Antoine Jacoutot
2014-08-21add $OpenBSD$Jonathan Gray
2014-08-21Make "rcctl status" output match rc.conf(8) format.Antoine Jacoutot
2014-08-21If a service is disabled its flags are unconditionally set to "NO", soAntoine Jacoutot
2014-08-20Store the positional args in vars with meaningful names which makes the argRobert Peichaer
2014-08-20Greatly simplify get/set flags and status.Antoine Jacoutot
2014-08-20Drop default values from rc.conf.local when we run "enable".Antoine Jacoutot