[Buildroot] [PATCH 1/1] package/busybox: fix S0{1sys, 2k}logd indentation

Arnout Vandecappelle arnout at mind.be
Mon Apr 15 22:10:20 UTC 2019



On 15/04/2019 10:36, Fabrice Fontaine wrote:
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

 Applied to master, thanks.

 Note that the other init scripts that were updated by Carlos have the same
issue (copy&paste, I guess):

package/rsyslog/S01rsyslogd
package/sysklogd/S01syslogd
package/sysklogd/S02klogd
package/syslog-ng/S01syslog-ng

 Regards,
 Arnout

> ---
>  package/busybox/S01syslogd | 8 ++++----
>  package/busybox/S02klogd   | 8 ++++----
>  2 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/package/busybox/S01syslogd b/package/busybox/S01syslogd
> index 6e642a678a..15006bc06f 100644
> --- a/package/busybox/S01syslogd
> +++ b/package/busybox/S01syslogd
> @@ -44,12 +44,12 @@ restart() {
>  }
>  
>  case "$1" in
> -        start|stop|restart)
> +	start|stop|restart)
>  		"$1";;
>  	reload)
>  		# Restart, since there is no true "reload" feature.
>  		restart;;
> -        *)
> -                echo "Usage: $0 {start|stop|restart|reload}"
> -                exit 1
> +	*)
> +		echo "Usage: $0 {start|stop|restart|reload}"
> +		exit 1
>  esac
> diff --git a/package/busybox/S02klogd b/package/busybox/S02klogd
> index a4200cfb34..0677e1e5ca 100644
> --- a/package/busybox/S02klogd
> +++ b/package/busybox/S02klogd
> @@ -44,12 +44,12 @@ restart() {
>  }
>  
>  case "$1" in
> -        start|stop|restart)
> +	start|stop|restart)
>  		"$1";;
>  	reload)
>  		# Restart, since there is no true "reload" feature.
>  		restart;;
> -        *)
> -                echo "Usage: $0 {start|stop|restart|reload}"
> -                exit 1
> +	*)
> +		echo "Usage: $0 {start|stop|restart|reload}"
> +		exit 1
>  esac
> 


More information about the buildroot mailing list