blob: 4d4cd76b59a7603318ed638bdf3aecbf91c9cfa2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}
|