From 78834aed72ecf339da0d48c94c5329af7ea35e6c Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 21 Apr 2010 14:32:02 +0000 Subject: testing/iscsi-scst: new aport ISCSI target for SCST - userspace tools http://iscsi-scst.sourceforge.net/ --- testing/iscsi-scst/iscsi-scst.initd | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 testing/iscsi-scst/iscsi-scst.initd (limited to 'testing/iscsi-scst/iscsi-scst.initd') diff --git a/testing/iscsi-scst/iscsi-scst.initd b/testing/iscsi-scst/iscsi-scst.initd new file mode 100644 index 000000000..4d4cd76b5 --- /dev/null +++ b/testing/iscsi-scst/iscsi-scst.initd @@ -0,0 +1,23 @@ +#!/sbin/runscript +# +# Start the iSCSI-SCST Target. +# + +depend() { + need net + afer firewall +} + +start() { + modprobe -q crc32c + modprobe -q iscsi-scst + ebegin "Starting iscsi-scstd" + start-stop-daemon --start --exec /usr/sbin/iscsi-scstd + eend 0 +} + +stop() { + ebegin "Stopping iscsi-scstd" + start-stop-daemon --stop --exec /usr/sbin/iscsi-scstd + eend 0 +} -- cgit v1.2.3