iankelling.org
/
git
/
automated-distro-installer
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
various minor fixes and improvements
[automated-distro-installer]
/
fai
/
config
/
hooks
/
mountdisks.DEFAULT
1
#! /bin/bash
2
3
# stop resync of soft raid
4
if
[
$do_init_tasks
-eq
1
];
then
5
if
grep
-q
active
/
proc
/
mdstat
2
>/
dev
/
null
;
then
6
echo
"frozen"
|
tee
/
sys
/
block
/
md
*/
md
/
sync_action
>/
dev
/
null
7
fi
8
fi
9
exit
0