1
0
fai-configspace/hooks/mountdisks.DEFAULT

12 lines
237 B
Plaintext
Raw Normal View History

#! /bin/bash
# stop resync of soft raid
# why though?
# FAI SUCKS
if [ $do_init_tasks -eq 1 ]; then
if grep -q active /proc/mdstat 2>/dev/null; then
echo "frozen" | tee /sys/block/md*/md/sync_action >/dev/null
fi
fi
exit 0