blob: f332658bcde487ef7d962a216577e589d43bfac6 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From cd312bc0e3686404428878d23b8888cba09a20e1 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 18 Sep 2014 19:46:58 -0700
4Subject: [PATCH] arptables.sysv: remove bashism
5
6Use "." to replace of "source", and change /bin/bash to /bin/sh, the
7echo $"foo" works well in busybox.
8
9Upstream-Status: Pending
10
11Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12---
13 arptables.sysv | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/arptables.sysv b/arptables.sysv
17index 7a90bd2..7710376 100644
18--- a/arptables.sysv
19+++ b/arptables.sysv
20@@ -1,4 +1,4 @@
21-#!/bin/bash
22+#!/bin/sh
23 #
24 # init script for arptables
25 #
26@@ -11,7 +11,7 @@
27 #
28 # config: __SYSCONFIG__/arptables
29
30-source /etc/init.d/functions
31+. /etc/init.d/functions
32 # source /etc/sysconfig/network
33
34 # Check that networking is up.
35--
361.7.9.5
37