X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/170b2b423d7d0430c0e181fbb66ff3d9ea4aac59..c80e7a81f74b2b8554da699c3bd9011d503e720f:/package/base-files/default/sbin/mount_root diff --git a/package/base-files/default/sbin/mount_root b/package/base-files/default/sbin/mount_root index c393e06f3..e855b41a1 100755 --- a/package/base-files/default/sbin/mount_root +++ b/package/base-files/default/sbin/mount_root @@ -22,6 +22,7 @@ if [ "$1" != "failsafe" ]; then if [ -z "$(nvram get no_root_swap)" ]; then is_clean || { mtd erase OpenWrt + mtd unlock linux jffs2root --clean } mtd unlock OpenWrt