change from /jffs to /overlay, patch from Daniel Dickinson
[openwrt/openwrt.git] / package / base-files / files / lib / firstboot / 30_is_rootfs_mounted
index 7c3fe6c4c83f3607a4fc9172ebbe64d6bb3c915a..e2ba01d502e153c58b7ea4df344cd7f13c13ab77 100644 (file)
@@ -4,7 +4,7 @@
 # Copyright (C) 2010 Vertical Communications
 
 skip_if_rootfs_mounted() {
-    mount "$mtdpart" /rom/jffs -t jffs2 || exit
+    mount "$mtdpart" /rom/overlay -t jffs2 || exit
 }
 
 boot_hook_add switch2jffs skip_if_rootfs_mounted