mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-17 23:30:13 +03:00
d7c7e4f683
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19944 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
266 B
Bash
14 lines
266 B
Bash
#!/bin/sh
|
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
|
# Copyright (C) 2010 Vertical Communications
|
|
|
|
with_fo_cleanup() {
|
|
# try to get rid of /tmp/root
|
|
# this will almost always fail
|
|
umount /tmp/root 2>&-
|
|
exit 0
|
|
}
|
|
|
|
boot_hook_add switch2jffs with_fo_cleanup
|