Merge pull request #67 from dracut-mailing-devs/1432116434-18050-1-git-send-email-cfan@redhat.com
Change the fs_passno of nfs to 0master
commit
b562bc55a8
|
@ -1521,6 +1521,7 @@ if [[ $kernel_only != yes ]]; then
|
||||||
[ -z "${line[3]}" ] && line[3]="defaults"
|
[ -z "${line[3]}" ] && line[3]="defaults"
|
||||||
[ -z "${line[4]}" ] && line[4]="0"
|
[ -z "${line[4]}" ] && line[4]="0"
|
||||||
[ -z "${line[5]}" ] && line[5]="2"
|
[ -z "${line[5]}" ] && line[5]="2"
|
||||||
|
strstr "${line[2]}" "nfs" && line[5]="0"
|
||||||
echo "${line[@]}" >> "${initdir}/etc/fstab"
|
echo "${line[@]}" >> "${initdir}/etc/fstab"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue