aboutsummaryrefslogtreecommitdiffstats
path: root/main/open-iscsi/iscsid.confd
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-04-18 09:29:18 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-04-18 09:30:53 +0000
commitb7aa1c92a86b7f27d237f090528ec112ac9696f0 (patch)
tree0d770d656f37af308f64f4ce5f66fca0b2acaea1 /main/open-iscsi/iscsid.confd
parentabec1f391ad1400086af5369127605ce2c90e59e (diff)
downloadaports-b7aa1c92a86b7f27d237f090528ec112ac9696f0.tar.bz2
aports-b7aa1c92a86b7f27d237f090528ec112ac9696f0.tar.xz
main/open-iscsi: restore package
This reverts commit bdeb1544255f85ed635bf584636808c45a1abad5. Newer kernels merged open-iscsi module. We need the userland utils back.
Diffstat (limited to 'main/open-iscsi/iscsid.confd')
-rw-r--r--main/open-iscsi/iscsid.confd13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/open-iscsi/iscsid.confd b/main/open-iscsi/iscsid.confd
new file mode 100644
index 0000000000..1c4cc40542
--- /dev/null
+++ b/main/open-iscsi/iscsid.confd
@@ -0,0 +1,13 @@
+# /etc/conf.d/iscsid
+
+# config file to use
+CONFIG_FILE=/etc/iscsi/iscsid.conf
+
+# you need to specify an initiatorname in the file
+INITIATORNAME_FILE=/etc/iscsi/initiatorname.iscsi
+
+# options to pass to iscsid
+OPTS="-i ${INITIATORNAME_FILE}"
+
+# Start automatic targets when iscsid is started
+AUTOSTARTTARGETS="yes"