X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/596ed99c0735a0e91147c3193e88005e46a5bcec..66492b44df29654379584aac27a0d0c84b26cade:/openwrt/package/base-files/default/etc/init.d/S10boot?ds=inline diff --git a/openwrt/package/base-files/default/etc/init.d/S10boot b/openwrt/package/base-files/default/etc/init.d/S10boot index 37eb7b3cc..a827391fe 100755 --- a/openwrt/package/base-files/default/etc/init.d/S10boot +++ b/openwrt/package/base-files/default/etc/init.d/S10boot @@ -1,5 +1,8 @@ #!/bin/sh -echo "S" > /proc/jffs2_bbc +. /etc/nvram.sh +if [ "$(uname -r|grep 2.4)" = "0" ];then + echo "S" > /proc/jffs2_bbc +fi mkdir -p /var/run mkdir -p /var/log