[PATCH] config: PID_FILE_PATH required for FEATURE_CROND_SPECIAL_TIMES

James Byrne james.byrne at origamienergy.com
Tue Aug 27 13:51:34 UTC 2019


On 17/07/2019 16:53, James Byrne wrote:
> When crond is built with FEATURE_CROND_SPECIAL_TIMES enabled, it creates
> a file called 'crond.reboot' at CONFIG_PID_FILE_PATH, but if
> FEATURE_PIDFILE is disabled, this will be an empty string and the file
> will be created in the root directory, which is undesirable.
> 
> This commit makes PID_FILE_PATH depend on FEATURE_CROND_SPECIAL_TIMES as
> well as FEATURE_PIDFILE so that you get sensible behaviour in crond when
> FEATURE_PIDFILE is switched off.
> 
> Signed-off-by: James Byrne <james.byrne at origamienergy.com>

Hi,

I posted this patch a while back but haven't seen any replies. Are there 
any issues with this change?

Thanks,

James


More information about the busybox mailing list