Otherwise e.g. mount(1) might complain about:
| mount: (hint) your fstab has been modified, but systemd still uses
| the old version; use `systemctl daemon-reload` to reload.
Thanks: Chris Hofstaedtler for the bug report
Closes: https://github.com/grml/grml-autoconfig/issues/12
cat $TMPFILE > $MNTFILE
fi
cat $TMPFILE > $MNTFILE
fi
+# ensure systemd uses recent fstab configuration
+if [ -d /run/systemd/system ]; then
+ logit 'Reloading systemd manager configuration to use current fstab'
+ systemctl daemon-reload
+fi
+
bailout 0
## END OF FILE #################################################################
bailout 0
## END OF FILE #################################################################