On Fri, 2019-07-05 at 14:25 +0200, David Demelier wrote:
> ---
>  init/init.c | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/init/init.c b/init/init.c
> index 0f3c5fa4d..a875caf84 100644
> --- a/init/init.c
> +++ b/init/init.c
> @@ -15,6 +15,14 @@
>  //config:    help
>  //config:    init is the first program run when the system boots.
>  //config:
> +//config:config INIT_SCRIPT
> +//config:    string "Default init script to start"
> +//config:    default "/etc/init.d/rcS"
> +//config:    depends on INIT
> +//config:    help
> +//config:    Default init script to start.
> +//config:    Defaults to "/etc/init.d/rcS"
> +//config:
>  //config:config LINUXRC
>  //config:    bool "linuxrc: support running init from initrd (not
> initramfs)"
>  //config:    default y
> @@ -160,7 +168,7 @@
>  
>  /* Default sysinit script. */
>  #ifndef INIT_SCRIPT
> -# define INIT_SCRIPT  "/etc/init.d/rcS"
> +# define INIT_SCRIPT  CONFIG_INIT_SCRIPT
>  #endif
>  
>  /* Each type of actions can appear many times. They will be

Anyone is interested?

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to