package/modules: enable ECHI/OHCI for RT3883
[openwrt.git] / package / base-files / files / lib / firstboot / 50_pivot
1 #!/bin/sh
2
3 # Copyright (C) 2006-2010 OpenWrt.org
4 # Copyright (C) 2010 Vertical Communications
5
6 with_fo_pivot() {
7 # switch back to squashfs (temporarily)
8 # and park the ramdisk ontop of /tmp/root
9 pivot /rom /mnt
10 mount -o move /mnt /tmp/root
11
12 # /overlay is the overlay
13 # /rom is the readonly
14 fopivot /overlay /rom
15 }
16
17 boot_hook_add switch2jffs with_fo_pivot
This page took 0.043651 seconds and 5 git commands to generate.