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>
This commit is contained in:
parent
b6e4989e54
commit
7616bea24c
|
@ -15,7 +15,7 @@ ifup lo
|
||||||
|
|
||||||
# Allow for distro or local customizations
|
# Allow for distro or local customizations
|
||||||
if [ -f /etc/rc.local ] ; then
|
if [ -f /etc/rc.local ] ; then
|
||||||
source /etc/rc.local
|
. /etc/rc.local
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Become session leader and try to find a real tty (e.g. ttyS0)
|
# Become session leader and try to find a real tty (e.g. ttyS0)
|
||||||
|
|
Loading…
Reference in New Issue