aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/mcstrans/mcstrans-de-bashify.patch
blob: 74ae8798d4e43c061d987f84aea2fe8c87deb0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 580a625e9e1266d92c248a5e3f471d12d42c149b Mon Sep 17 00:00:00 2001
From: Joe MacDonald <joe_macdonald@mentor.com>
Date: Fri, 7 Aug 2015 15:16:45 -0400
Subject: [PATCH] mcstrans: remove dependency on bash in initscript

There were no apparent bashisms in mcstrans.init, so remove the
dependency on bash.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>

Upstream-Status: Inappropriate [embedded specific]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 src/mcstrans.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mcstrans.init b/src/mcstrans.init
index 2804ec0..8b4737d 100644
--- a/src/mcstrans.init
+++ b/src/mcstrans.init
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # mcstransd        This starts and stops mcstransd
 #
-- 
2.25.1