fix stupid error from me
[openwrt.git] / package / base-files / default / etc / init.d / S10boot
index d45f8e8..a827391 100755 (executable)
@@ -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
@@ -17,7 +20,7 @@ touch /var/log/lastlog
   # if they don't already exist 
   [  "$(nvram get boardtype)" = "bcm95365r" \
   -a "$(nvram get boardnum)" = "45" \
-  -a -z "$(nvram get vlan0ports)"
+  -a -z "$(nvram get vlan0ports)" \
   -a -z "$(nvram get vlan1ports)" ] && {
        nvram set vlan0ports="1 2 3 4 5*"
        nvram set vlan1ports="0 5"
This page took 0.022504 seconds and 4 git commands to generate.