diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-26 13:18:58 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-26 13:18:58 +0200 |
commit | 94df8342ab9065f5ebb1336d37720ec0a8ca637d (patch) | |
tree | f002588114f8e86b89cc24f5a1b400b468db02ee /package/base-files/src | |
parent | bef98c105c4cdb1586bfe89b43a5e97d9da90059 (diff) |
fix parse error when rcquiet is not set
Diffstat (limited to 'package/base-files/src')
-rwxr-xr-x | package/base-files/src/etc/init.d/rcS | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/src/etc/init.d/rcS b/package/base-files/src/etc/init.d/rcS index b5afea57d..cddbe71e4 100755 --- a/package/base-files/src/etc/init.d/rcS +++ b/package/base-files/src/etc/init.d/rcS @@ -5,6 +5,7 @@ if [ -f /proc/sys/kernel/printk ];then echo 0 > /proc/sys/kernel/printk fi ln -s /proc/self/fd/2 /dev/stderr +: ${rcquiet=0} if [ $rcquiet -ne 1 ];then echo "System initialization ..." fi @@ -46,7 +47,6 @@ echo ${HOSTNAME:=openadk} >/proc/sys/kernel/hostname chown 0:0 /tmp; chmod 1777 /tmp -: ${rcquiet=0} if test x"$rcquiet" = x"0" && sh -n /etc/rc.conf >/dev/null 2>&1; then . /etc/rc.conf unset rcquiet |