diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-04-19 07:54:16 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-04-19 07:54:16 +0000 |
commit | 7730a749dea443b60e478adaa307207910f317ef (patch) | |
tree | 5224290a8ada6c86fccb099d30b8d455e0395481 /testing/targetcli | |
parent | 30efc920984cafe624b7a918fe0bf8383136bb46 (diff) | |
download | aports-7730a749dea443b60e478adaa307207910f317ef.tar.bz2 aports-7730a749dea443b60e478adaa307207910f317ef.tar.xz |
testing/targetcli: mount configfs after modules load
Diffstat (limited to 'testing/targetcli')
-rwxr-xr-x | testing/targetcli/targetcli.initd | 3 |
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 $? } |