summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/firstboot/99_10_no_fo_cleanup
blob: 6dedcb1e876eac2a69cea70d027db862daa336fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

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

no_fo_cleanup() {
    echo "done"
    umount -l /overlay
    umount -l /tmp/root
    exit 0
}

boot_hook_add no_fo no_fo_cleanup