summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/firstboot/30_no_fo_pivot
blob: cb82cde5dd0af08069977b3b42574bc486e5fa37 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Copyright (C) 2006-2010 OpenWrt.org
# Copyright (C) 2010 Vertical Communications

no_fo_pivot() {
    # switch to the new (empty) jffs2
    fopivot /jffs /rom 1
}

boot_hook_add no_fo no_fo_pivot