2015-03-09 09:20:20 +01:00
|
|
|
--- systemd-210/src/fstab-generator/fstab-generator.c 2014-02-17 15:49:21.070855641 +0100
|
|
|
|
+++ systemd-210/src/fstab-generator/fstab-generator.c 2014-04-25 16:25:13.256106126 +0200
|
|
|
|
@@ -255,10 +255,12 @@
|
|
|
|
"SourcePath=%s\n",
|
|
|
|
source);
|
2014-04-28 11:54:18 +02:00
|
|
|
|
|
|
|
- if (post && !noauto && !nofail && !automount)
|
2015-03-09 09:20:20 +01:00
|
|
|
- fprintf(f,
|
|
|
|
- "Before=%s\n",
|
|
|
|
- post);
|
2014-04-28 11:54:18 +02:00
|
|
|
+ if (post && !noauto && !nofail && !automount) {
|
2015-03-09 09:20:20 +01:00
|
|
|
+ if (!streq(type, "nfs") || (streq(type, "nfs") && !strstr(opts, "bg")))
|
|
|
|
+ fprintf(f,
|
|
|
|
+ "Before=%s\n",
|
|
|
|
+ post);
|
2014-04-28 11:54:18 +02:00
|
|
|
+ }
|
|
|
|
|
2015-03-09 09:20:20 +01:00
|
|
|
r = add_fsck(f, what, where, type, passno);
|
|
|
|
if (r < 0)
|