aboutsummaryrefslogtreecommitdiffstats
path: root/testing/targetcli
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-04-19 07:54:16 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-04-19 07:54:16 +0000
commit7730a749dea443b60e478adaa307207910f317ef (patch)
tree5224290a8ada6c86fccb099d30b8d455e0395481 /testing/targetcli
parent30efc920984cafe624b7a918fe0bf8383136bb46 (diff)
downloadaports-7730a749dea443b60e478adaa307207910f317ef.tar.bz2
aports-7730a749dea443b60e478adaa307207910f317ef.tar.xz
testing/targetcli: mount configfs after modules load
Diffstat (limited to 'testing/targetcli')
-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 3dbbb9ec53..8527c8476d 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 $?
}