minor changes

SVN-Revision: 74
master
Mike Baker 20 years ago
parent d7363931eb
commit 2fc1809744
  1. 2
      root/etc/functions.sh
  2. 4
      root/etc/preinit

@ -1,6 +1,6 @@
#!/bin/ash
alias debug=${DEBUG:-true}
alias debug=${DEBUG:-:}
# allow env to override nvram
nvram_get () {

@ -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

Loading…
Cancel
Save