summaryrefslogtreecommitdiffstats
path: root/meta-yocto/recipes-core/tiny-init
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-08-05 09:27:34 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-06 13:03:31 +0100
commit7616bea24c9537db254a9161043a7dae9eb461f0 (patch)
tree57dbd6c77de6e782c7956f2eeaf5655ac41993ed /meta-yocto/recipes-core/tiny-init
parentb6e4989e54217226213bd47c0c97cb0ae89bf1eb (diff)
downloadpoky-7616bea24c9537db254a9161043a7dae9eb461f0.tar.gz
tiny-init: fix bashism
"source" is a bashism, replace it with the posix shell compliant "." (From meta-yocto rev: 44174721aeba2c18712818ac3698ee6807754ea7) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto/recipes-core/tiny-init')
-rw-r--r--meta-yocto/recipes-core/tiny-init/files/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-yocto/recipes-core/tiny-init/files/init b/meta-yocto/recipes-core/tiny-init/files/init
index 4b78f017fe..9140e9558e 100644
--- a/meta-yocto/recipes-core/tiny-init/files/init
+++ b/meta-yocto/recipes-core/tiny-init/files/init
@@ -15,7 +15,7 @@ ifup lo
15 15
16# Allow for distro or local customizations 16# Allow for distro or local customizations
17if [ -f /etc/rc.local ] ; then 17if [ -f /etc/rc.local ] ; then
18 source /etc/rc.local 18 . /etc/rc.local
19fi 19fi
20 20
21# Become session leader and try to find a real tty (e.g. ttyS0) 21# Become session leader and try to find a real tty (e.g. ttyS0)