Changeset 28df043 in freewrt for package/base-files
- Timestamp:
- Jun 10, 2006, 3:22:48 PM (20 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- a5bb8b8
- Parents:
- e59ae5b
- Location:
- package/base-files/default
- Files:
-
- 2 edited
-
bin/firstboot (modified) (2 diffs)
-
sbin/mount_root (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
package/base-files/default/bin/firstboot
re59ae5b r28df043 63 63 64 64 [ "$1" = "switch2jffs" ] && { 65 mtd erase OpenWrt65 mtd erase data 66 66 mount -o remount,ro none / # try to avoid fs changing while copying 67 67 mount -o bind / /mnt … … 86 86 } 87 87 88 mtd erase OpenWrt88 mtd erase data 89 89 mountdp /dev/mtdblock/4 /jffs -t jffs2 90 90 } -
package/base-files/default/sbin/mount_root
re59ae5b r28df043 14 14 if [ $? = 0 ] ; then 15 15 if [ $(cat /proc/mtd | wc -l) = 6 ]; then 16 mtd erase OpenWrt17 jffs2root --move 16 mtd erase data 17 jffs2root --move --reboot 18 18 else 19 19 mount -o remount,rw /dev/root /
Note:
See TracChangeset
for help on using the changeset viewer.
