diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-21 14:32:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-21 14:32:02 +0000 |
commit | 78834aed72ecf339da0d48c94c5329af7ea35e6c (patch) | |
tree | e99a0e20ecb97c27e54ae4e8774f709f68db4f42 /testing/iscsi-scst/iscsi-scst.initd | |
parent | 28d3a986488900f1d15ec23d02f6f264bc8fe692 (diff) | |
download | aports-78834aed72ecf339da0d48c94c5329af7ea35e6c.tar.bz2 aports-78834aed72ecf339da0d48c94c5329af7ea35e6c.tar.xz |
testing/iscsi-scst: new aport
ISCSI target for SCST - userspace tools
http://iscsi-scst.sourceforge.net/
Diffstat (limited to 'testing/iscsi-scst/iscsi-scst.initd')
-rw-r--r-- | testing/iscsi-scst/iscsi-scst.initd | 23 |
1 files changed, 23 insertions, 0 deletions
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 +} |