Skip to content
Commit fc6b5e44 authored by Javier Viguera's avatar Javier Viguera Committed by Peter Korsgaard
Browse files

busybox: minor fixes to S01logging bootscript



* The PID file is not created unless the '-m' option is passed to
  start-stop-daemon.

* Remove the mark '-m 0' option as it's not supported by busybox's
  syslogd.

* Syslogd and Klogd forks to background by default giving as a result
  that the pid stored in the PID file is not correct. Let the
  background job be done by 'start-stop-daemon' by passing '-n'
  (foreground) to the daemons and '-b' to start-stop-daemon. This
  way the pid stored in the PID files is correct.

Signed-off-by: default avatarJavier Viguera <javier.viguera@digi.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 62ebea18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment