Patchwork [05/18] lsb: de-bash scripts to remove bash dependency

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date Nov. 29, 2013, 12:48 p.m.
Message ID <d0d10a144b1c47c3e49257f5347612607ce5bd0a.1385728901.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/62577/
State New
Headers show

Comments

Qi.Chen@windriver.com - Nov. 29, 2013, 12:48 p.m.
From: Chen Qi <Qi.Chen@windriver.com>

De-bash some script in lsb to make it not dependent on bash.

[YOCTO #5555]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-extended/lsb/lsb/lsb_killproc     |    2 +-
 meta/recipes-extended/lsb/lsb/lsb_log_message  |    2 +-
 meta/recipes-extended/lsb/lsb/lsb_pidofproc    |    2 +-
 meta/recipes-extended/lsb/lsb/lsb_start_daemon |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Patch

diff --git a/meta/recipes-extended/lsb/lsb/lsb_killproc b/meta/recipes-extended/lsb/lsb/lsb_killproc
index e1121e4..866c1a9 100755
--- a/meta/recipes-extended/lsb/lsb/lsb_killproc
+++ b/meta/recipes-extended/lsb/lsb/lsb_killproc
@@ -1,4 +1,4 @@ 
-#!/bin/bash
+#!/bin/sh
 
 . /etc/init.d/functions
 
diff --git a/meta/recipes-extended/lsb/lsb/lsb_log_message b/meta/recipes-extended/lsb/lsb/lsb_log_message
index 9daa9c8..a716518 100755
--- a/meta/recipes-extended/lsb/lsb/lsb_log_message
+++ b/meta/recipes-extended/lsb/lsb/lsb_log_message
@@ -1,4 +1,4 @@ 
-#!/bin/bash
+#!/bin/sh
 
 . /etc/init.d/functions
 
diff --git a/meta/recipes-extended/lsb/lsb/lsb_pidofproc b/meta/recipes-extended/lsb/lsb/lsb_pidofproc
index ffc17bb..6d1fd0f 100755
--- a/meta/recipes-extended/lsb/lsb/lsb_pidofproc
+++ b/meta/recipes-extended/lsb/lsb/lsb_pidofproc
@@ -1,4 +1,4 @@ 
-#!/bin/bash
+#!/bin/sh
 
 . /etc/init.d/functions
 
diff --git a/meta/recipes-extended/lsb/lsb/lsb_start_daemon b/meta/recipes-extended/lsb/lsb/lsb_start_daemon
index 05b6371..de62c23 100755
--- a/meta/recipes-extended/lsb/lsb/lsb_start_daemon
+++ b/meta/recipes-extended/lsb/lsb/lsb_start_daemon
@@ -1,4 +1,4 @@ 
-#!/bin/bash
+#!/bin/sh
 
 . /etc/init.d/functions