summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/etc/init.d')
-rwxr-xr-xopenwrt/package/base-files/default/etc/init.d/S10boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/base-files/default/etc/init.d/S10boot b/openwrt/package/base-files/default/etc/init.d/S10boot
index 3ec41b1190..a827391fe4 100755
--- a/openwrt/package/base-files/default/etc/init.d/S10boot
+++ b/openwrt/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