summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackage/base-files/default/etc/init.d/S10boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/default/etc/init.d/S10boot b/package/base-files/default/etc/init.d/S10boot
index 3ec41b1190..a827391fe4 100755
--- a/package/base-files/default/etc/init.d/S10boot
+++ b/package/base-files/default/etc/init.d/S10boot
@@ -1,8 +1,8 @@
#!/bin/sh
. /etc/nvram.sh
-if [ "$(uname -r|grep 2.4)" = "0" ];do
+if [ "$(uname -r|grep 2.4)" = "0" ];then
echo "S" > /proc/jffs2_bbc
-done
+fi
mkdir -p /var/run
mkdir -p /var/log