Skip to content

Fix and improve the S02sysctl init script

unixmania at gmail.com buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pakage/busybox: use same S02sysctl script as procps-ngpackage/busybox/S02sysctl+1 -660 replies
2/3package/procps-ng: add busybox-related comments to S02sysctlpackage/procps-ng/S02sysctl+13 -60 replies
3/3pakage/procps-ng: use logger in S02sysctl only if it is availablepackage/procps-ng/S02sysctl+29 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/3] Fix and improve the S02sysctl init script

From: Carlos Santos <[email protected]>

Both busybox and procps-ng provide a S02sysctl init script. Since the scripts are the same, except for some comments, make the busybox one a symlink to the procps-ng one.

Also the scripts used the logger utility unconditionally but it may not exist. Declare two functions to perform the operation, run_logger and run_std, and use the appropriate one, depending on the existence of logger.

Carlos Santos (3):
pakage/busybox: use same S02sysctl script as procps-ng package/procps-ng: add busybox-related comments to S02sysctl pakage/procps-ng: use logger in S02sysctl only if it is available

 package/busybox/S02sysctl   | 67 +------------------------------------
 package/procps-ng/S02sysctl | 54 +++++++++++++++++++++++-------
 2 files changed, 43 insertions(+), 78 deletions(-)
 mode change 100644 => 120000 package/busybox/S02sysctl
Signature · 1 line
2.18.2