[arch-general] [PATCH 01/48] Bashification of initscripts

Thomas Bächler thomas at archlinux.org
Wed Jun 30 17:55:12 EDT 2010


Am 30.06.2010 23:47, schrieb Victor Lowther:
> Despite efforts to make the initscripts POSIX, we use bash 4.0 features.
> 
> Bashifying this framework should result in about a 30% speedup, assuming no
> IO latency and that all programs we call also take zero time. :)
> ---
>  functions |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/functions b/functions
> index 672eed2..023de35 100644
> --- a/functions
> +++ b/functions
> @@ -1,4 +1,4 @@
> -#
> +#!/bin/bash
>  # initscripts functions

I don't see the need for this patch. functions is not supposed to be
executed standalone, it is only source'd from bash scripts.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20100630/57857739/attachment.bin>


More information about the arch-general mailing list