summaryrefslogtreecommitdiff
path: root/etc/rc.d
AgeCommit message (Expand)Author
2011-04-09Fix multiple issues and make the code simpler and more robust:Ingo Schwarze
2011-04-06- in case reload fails, print the failed message (from Piotr Sikora)Robert Nagy
2011-04-06Remove leading/trailing spaces from daemon_flags.Antoine Jacoutot
2011-04-05Handle a daemon_flags of '-n' by using printf '%s\n' instead of echoPhilip Guenthe
2011-04-05Quote $daemon_flags to prevent echo(1) picking them as input flags.Antoine Jacoutot
2011-03-25Bump timeout to 30s.Antoine Jacoutot
2011-03-24if daemon_flags=NO is set, just exitRobert Nagy
2011-03-19Since we now use pkill -0 for "check", it must be run as root,Ian Darwin
2011-03-17- introduce the INRC environment variable so that rc.subr(8) knows if itRobert Nagy
2011-03-14Return proper codes so that we don't rc_start if rc_pre failed and weAntoine Jacoutot
2011-03-10Add a small comment at the top to explain what this file does.Antoine Jacoutot
2011-03-09Make reload and check consistent with start/stop.Antoine Jacoutot
2011-03-09Move the redirections into the rc_cmd itself instead of rc_start andAntoine Jacoutot
2011-03-09Move rc_pre and rc_post out of the rc_start/rc_stop functions into theAntoine Jacoutot
2011-03-06Add an "rc_bg" variable that is undefined by default and allows to startAntoine Jacoutot
2011-02-24Remove daemon_shell and force the use of /bin/sh for the su(1) call.Antoine Jacoutot
2011-01-05Put the "su -c ..." command into an rcexec variable so that we canAntoine Jacoutot
2011-01-04Check for a login class that match the rc script name and if we find oneAntoine Jacoutot
2010-12-29After the recent changes, there is no need for an rc_conf function.Antoine Jacoutot
2010-12-27There is no point in calling rc_conf manually from each and every rcAntoine Jacoutot
2010-12-24Fix a flaw in the rc.subr framework reported by stephan@ whereAntoine Jacoutot
2010-12-13Prefer '-l' over '-' which is deprecated.Antoine Jacoutot
2010-12-13simulate a full login with su, now that the environment is fine afterRobert Nagy
2010-12-11Make it possible to mark an rc action as unsupported by setting theAntoine Jacoutot
2010-12-11Sanitise daemon_flags: remove multiple whitespaces from _rcflags.Antoine Jacoutot
2010-12-11Do not overwrite the settings in the rc scripts itself, so use the sameRobert Nagy
2010-12-10Add support for setting _user _class and _shell for a specific daemon,Robert Nagy
2010-10-28remove my debug printfRobert Nagy
2010-10-28After discussing with Ingo and Antoine we decided to renameRobert Nagy
2010-10-28add $Robert Nagy
2010-10-27Protect variable names, to be consistent with rc(8).Antoine Jacoutot
2010-10-27Remove 'status', because 'check' is what is used internally and we don'tRobert Nagy
2010-10-27Missing redirection to /dev/null in rc_startRobert Nagy
2010-10-27quote $local_rcconf in [ ] and remove eval from rc_start()Robert Nagy
2010-10-26Add a simple 'rc' system to base in order to start/stop/restart/reloadRobert Nagy