base-files: add initial support for mounting overlayfs
[openwrt/svn-archive/archive.git] / package / base-files / files / lib / firstboot / 30_no_fo_pivot
1 #!/bin/sh
2
3 # Copyright (C) 2006-2010 OpenWrt.org
4 # Copyright (C) 2010 Vertical Communications
5
6 no_fo_pivot() {
7 # switch to the new (empty) jffs2
8 fopivot /overlay /rom 1
9 }
10
11 boot_hook_add no_fo no_fo_pivot