source: freewrt/target/linux/brcm-2.4/squashfs-overlay/files/etc/init.d/S20jffsclean@ 9bb72d2

freewrt_1_0 freewrt_2_0
Last change on this file since 9bb72d2 was 5ae545c, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago
  • add back support for squashfs with symlinks on jffs2 mini_fo seems to produce some very strange problems, unsure if 1.0 will have overlay support...
  • not verified yet, tg blocks my network card, because he is online over my umts card and working on my testrouter connected to his second nic, which I used to test

my changes, but now he use it for fwcf hacking...

git-svn-id: svn://www.freewrt.org/trunk/freewrt@680 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100755
File size: 214 bytes
Line 
1#!/bin/sh
2# if / is tmpfs, we have an old or broken jffs2
3# erase data partition and set flag between bootloader and kernel
4{ mount|grep "on / type tmpfs" 1>&-; } && {
5 mtd erase data
6 jffs2root --clean
7 reboot
8}
Note: See TracBrowser for help on using the repository browser.