aboutsummaryrefslogtreecommitdiffstats
path: root/testing/targetcli/targetcli.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/targetcli/targetcli.initd')
-rwxr-xr-xtesting/targetcli/targetcli.initd3
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/targetcli/targetcli.initd b/testing/targetcli/targetcli.initd
index 3dbbb9ec5..8527c8476 100755
--- a/testing/targetcli/targetcli.initd
+++ b/testing/targetcli/targetcli.initd
@@ -2,7 +2,6 @@
description="Administration tool for managing RisingTide Systems storage targets"
command="/usr/bin/targetcli"
-modules="target_core_mod iscsi_target_mod"
depend() {
need net
@@ -11,10 +10,10 @@ depend() {
start() {
ebegin "Starting ${RC_SVCNAME}"
- mount -t configfs none /sys/kernel/config
for mod in modules; do
modprobe $mod
done
+ mount -t configfs none /sys/kernel/config
$command restoreconfig clear_existing=true
eend $?
}