summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-03-06 17:06:15 +0100
committerHarald Hoyer <harald@redhat.com>2013-03-06 17:29:12 +0100
commitfe654ff0aa3066a2232ba9b9fb729bd5b919500e (patch)
tree822f3ebb927e1146a9452e6675365719a19ed431
parent5e1e1ec060aca98f22a42bfd9e342ae6325b9b2e (diff)
downloaddracut-fe654ff0aa3066a2232ba9b9fb729bd5b919500e.tar.gz
dracut-fe654ff0aa3066a2232ba9b9fb729bd5b919500e.tar.bz2
dracut-fe654ff0aa3066a2232ba9b9fb729bd5b919500e.zip
usrmount: in systemd mode, functionality is in systemd
-rwxr-xr-xmodules.d/98usrmount/module-setup.sh5
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
+ :
}