minor changes
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 7 Jul 2004 05:11:08 +0000 (05:11 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 7 Jul 2004 05:11:08 +0000 (05:11 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@74 3c298f89-4303-0410-b956-a3cf2f4a3e73

root/etc/functions.sh
root/etc/preinit

index 21efbaf..09ba6fe 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/ash
 
-alias debug=${DEBUG:-true}
+alias debug=${DEBUG:-:}
 
 # allow env to override nvram
 nvram_get () {
index 25fedc1..099d2dc 100755 (executable)
@@ -4,8 +4,8 @@ insmod diag
 echo 0x01 > /proc/sys/diag
 sleep 1
 if /sbin/resetmon ; then
-  mtd unlock mtd4
-  mount -t jffs2 /dev/mtdblock/4 /jffs
+  mount -t jffs2 /dev/mtdblock/4 /jffs && \
+  mtd unlock mtd4 &
   pivot_root /jffs /jffs/rom
   mount none /dev -t devfs
   mount none /proc -t proc
This page took 0.037023 seconds and 4 git commands to generate.