X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fhooks%2Fmountdisks.DEFAULT;fp=fai%2Fconfig%2Fhooks%2Fmountdisks.DEFAULT;h=0000000000000000000000000000000000000000;hb=7ade5e2c6113530c5f99cfc95880897fcb479f39;hp=95e6a2b15e8148d9882bf02fa3a9f1abf7429f89;hpb=0f532bb1fcccbef349748700040318f882a2ac40;p=automated-distro-installer diff --git a/fai/config/hooks/mountdisks.DEFAULT b/fai/config/hooks/mountdisks.DEFAULT deleted file mode 100755 index 95e6a2b..0000000 --- a/fai/config/hooks/mountdisks.DEFAULT +++ /dev/null @@ -1,9 +0,0 @@ -#! /bin/bash - -# stop resync of soft raid -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