projects
/
openwrt
/
staging
/
blogic.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
da914b143fc56f400860e5f3487ca40e01d16c6b
[openwrt/staging/blogic.git]
/
package
/
base-files
/
files
/
lib
/
firstboot
/
20_no_fo_mount_jffs
1
#!/bin/sh
2
3
# Copyright (C) 2006-2010 OpenWrt.org
4
# Copyright (C) 2010 Vertical Communications
5
6
no_fo_mount_jffs
() {
7
# initialize jffs2
8
mount
"
$mtdpart
"
/
jffs
-t
jffs2 ||
exit
9
10
# workaround to ensure that union can attach properly
11
sync
12
ls
/
jffs
>/
dev
/
null
13
}
14
15
boot_hook_add no_fo no_fo_mount_jffs