summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib/firstboot/30_no_fo_pivot
blob: b5c2601ee8d5f78a0556fcf24c9e298187888b92 (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 /overlay /rom 1
}

boot_hook_add no_fo no_fo_pivot