Sign in
nest-open-source
/
nest-learning-thermostat
/
5.0.2
/
mtd-utils
/
7e7d645fb32f5a7238c8b523ea5470232050741b
/
.
/
mtd-utils-1.3.1
/
tests
/
jittertest
/
filljffs2.sh
blob: 10651f46033627b33c14752a568e43ff17874019 [
file
] [
log
] [
blame
]
#!/bin/bash
# Pass following cmd line:
# 1st - file to copy
# 2nd - file to copy to
# 3rd - time to sleep between copies
while
[
$
((
1
))
-
gt $
((
0
))
]
do
cp $1 $2
rm $2
df
|
grep mtd
>
/
dev
/
console
echo
"sleeping $3"
sleep $3
done