summaryrefslogtreecommitdiff
path: root/modules.d/95iscsi
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-07-27 12:18:08 +0200
committerHarald Hoyer <harald@redhat.com>2012-07-27 12:18:08 +0200
commitf7f37923900507c5149ef86f4d459089d7d5f5e0 (patch)
treefe9b121bbb74b0f518e0c840e09909105f4242fb /modules.d/95iscsi
parent2d674a93364d432fbf62988e2fb3e3eda9a3be8f (diff)
downloaddracut-f7f37923900507c5149ef86f4d459089d7d5f5e0.tar.gz
dracut-f7f37923900507c5149ef86f4d459089d7d5f5e0.tar.bz2
dracut-f7f37923900507c5149ef86f4d459089d7d5f5e0.zip
iscsi/iscsiroot.sh: force link initiatorname
Diffstat (limited to 'modules.d/95iscsi')
-rwxr-xr-xmodules.d/95iscsi/iscsiroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/95iscsi/iscsiroot.sh b/modules.d/95iscsi/iscsiroot.sh
index 92414eed..1a8cc8df 100755
--- a/modules.d/95iscsi/iscsiroot.sh
+++ b/modules.d/95iscsi/iscsiroot.sh
@@ -128,7 +128,7 @@ handle_netroot()
fi
echo "InitiatorName='$iscsi_initiator'" > /run/initiatorname.iscsi
- ln -s /run/initiatorname.iscsi /dev/.initiatorname.iscsi
+ ln -fs /run/initiatorname.iscsi /dev/.initiatorname.iscsi
# FIXME $iscsi_protocol??