summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/firstboot/99_10_no_fo_cleanup
blob: 5eddfb14f83d5e0a11c62501bfacee6433bcb3e4 (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 /jffs
    umount -l /tmp/root
    exit 0
}

boot_hook_add no_fo no_fo_cleanup