From 7af8ee04812f647ce74adbe04f0d5d18a39bbd29 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Sun, 21 Mar 2010 17:16:50 +0000
Subject: change from /jffs to /overlay, patch from Daniel Dickinson

SVN-Revision: 20356
---
 package/base-files/files/sbin/firstboot | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'package/base-files/files/sbin/firstboot')

diff --git a/package/base-files/files/sbin/firstboot b/package/base-files/files/sbin/firstboot
index e9994de..4da2991 100755
--- a/package/base-files/files/sbin/firstboot
+++ b/package/base-files/files/sbin/firstboot
@@ -27,8 +27,8 @@ if [ "${0##*/}" = "firstboot" ]; then
 	boot_run_hook jffs2reset
     else
 	mtd erase "$partname"
-	mount "$mtdpart" /jffs -t jffs2
-	fopivot /jffs /rom 1
+	mount "$mtdpart" /overlay -t jffs2
+	fopivot /overlay /rom 1
     fi
 fi
 
-- 
cgit v1.1