source: trunk/root/etc/preinit @ 94

Last change on this file since 94 was 94, checked in by mbm, 13 years ago

split ifup/ifdown/wifi into standalone scripts

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 345 bytes
2mount none /proc -t proc
3insmod diag
4echo 0x01 > /proc/sys/diag
5sleep 1
6if /sbin/resetmon ; then
7  mtd unlock mtd4
8  mount -t jffs2 /dev/mtdblock/4 /jffs
9  pivot_root /jffs /jffs/rom
10  mount none /dev -t devfs
11  mount none /proc -t proc
12  umount rom/proc rom/dev
14  export FAILSAFE=true
16mount none /tmp -t ramfs
17exec /sbin/init
Note: See TracBrowser for help on using the repository browser.