diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-06 17:06:15 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-06 17:29:12 +0100 |
commit | fe654ff0aa3066a2232ba9b9fb729bd5b919500e (patch) | |
tree | 822f3ebb927e1146a9452e6675365719a19ed431 | |
parent | 5e1e1ec060aca98f22a42bfd9e342ae6325b9b2e (diff) | |
download | dracut-fe654ff0aa3066a2232ba9b9fb729bd5b919500e.tar.gz dracut-fe654ff0aa3066a2232ba9b9fb729bd5b919500e.tar.bz2 dracut-fe654ff0aa3066a2232ba9b9fb729bd5b919500e.zip |
usrmount: in systemd mode, functionality is in systemd
-rwxr-xr-x | modules.d/98usrmount/module-setup.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules.d/98usrmount/module-setup.sh b/modules.d/98usrmount/module-setup.sh index 69d22d89..5d81d152 100755 --- a/modules.d/98usrmount/module-setup.sh +++ b/modules.d/98usrmount/module-setup.sh @@ -12,6 +12,9 @@ depends() { } install() { - inst_hook pre-pivot 50 "$moddir/mount-usr.sh" + if ! dracut_module_included "systemd"; then + inst_hook pre-pivot 50 "$moddir/mount-usr.sh" + fi + : } |