tools/firmware-utils: allow to create buffalo tags w/o hw version
[openwrt.git] / package / base-files / files / lib / firstboot / 10_no_fo_clear_overlay
1 #!/bin/sh
2
3 # Copyright (C) 2006-2010 OpenWrt.org
4 # Copyright (C) 2010 Vertical Communications
5
6 no_fo_clear_overlay() {
7 # switch back to squashfs temporarily
8 pivot /rom /mnt
9
10 # get rid of the old overlay
11 umount -l /mnt
12
13 # another umount to get rid of the bind from /tmp/root
14 umount -l /mnt
15 }
16
17 boot_hook_add no_fo no_fo_clear_overlay
This page took 0.042886 seconds and 5 git commands to generate.