projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mount_root: prepare base-files
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
files.old
/
lib
/
firstboot
/
20_has_mini_fo
1
#!/bin/sh
2
3
# Copyright (C) 2006-2010 OpenWrt.org
4
# Copyright (C) 2010 Vertical Communications
5
6
check_for_overlay
() {
7
if
!
grep
-qE
'(mini_fo|overlay)'
/
proc
/
filesystems
;
then
8
boot_run_hook no_fo
9
exit
1
10
fi
11
}
12
13
boot_hook_add switch2jffs check_for_overlay