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

Victor Lowther victor.lowther at gmail.com
Wed Jun 30 17:47:41 EDT 2010


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
 #
 
-- 
1.7.1



More information about the arch-general mailing list