projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[package] libpcap: explicitely disable libnl support to prevent different build resul...
[openwrt.git]
/
package
/
base-files
/
files
/
lib
/
firstboot
/
20_reset_clear_jffs
1
#!/bin/sh
2
3
# Copyright (C) 2006-2010 OpenWrt.org
4
# Copyright (C) 2010 Vertical Communications
5
6
reset_clear_jffs
() {
7
[
"
$reset_has_fo
"
=
"true"
] && {
8
rm
-rf
$jffs
/*
2
>&-
9
mount
-o
remount
$jffs
/
2
>&-
10
exit
0
11
}
|| reset_has_fo
=
false
12
}
13
14
boot_hook_add jffs2reset reset_clear_jffs
This page took
0.047533 seconds
and
5
git commands to generate.