diff options
author | Carlos Santos <casantos@datacom.com.br> | 2018-11-06 22:49:11 -0200 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2018-12-10 22:15:51 +0100 |
commit | b3c76a435b16c5031a1519810f93972c42869ae0 (patch) | |
tree | 49458de946b4c56754154e676b766be331ce8f39 /package/i2c-tools/0001-lib-Module.mk-Add-missing-dependencies.patch | |
parent | 5e5c2e2194bc776842a917e6b54a164b8093f42f (diff) | |
download | buildroot-b3c76a435b16c5031a1519810f93972c42869ae0.tar.gz buildroot-b3c76a435b16c5031a1519810f93972c42869ae0.zip |
sysklogd: rewrite init script
- Split it into S01syslogd and S02klogd to make every init script be
called the same as the executable it starts.
- Implement start, stop, restart and reload as functions, like in other
init scripts, using start-stop-daemon.
- Indent with tabs, not spaces.
- Detect and report start/stop errors (previous version ignored them and
always reported OK).
- Support /etc/default/$DAEMON configuration files.
- Do not kill syslogd in "reload". Send a SIGHUP signal, instructing it
to perform a re-initialization.
- Do not kill klogd in "reload". Send a signal (default 0, which does
nothing). Users can configure this signal in /etc/default/klogd to
either SIGUSR1 or SIGUSR2.
Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/i2c-tools/0001-lib-Module.mk-Add-missing-dependencies.patch')
0 files changed, 0 insertions, 0 deletions