summaryrefslogtreecommitdiff
path: root/network/iscsitarget/doinst.sh
diff options
context:
space:
mode:
authorThales A. Tsailas <ttsailas@enforcingit.com>2010-05-12 17:43:32 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:43:32 +0200
commit6afd509ba0e456b3df5fce759715dca8cb742b66 (patch)
tree4dfbd5fdfe63bb21244c20a7519203e8122bb4f0 /network/iscsitarget/doinst.sh
parent16c880a35c52c1ebaea5802b66027b0bc304101b (diff)
downloadslackbuilds-6afd509ba0e456b3df5fce759715dca8cb742b66.tar.gz
network/iscsitarget: Updated for version 0.4.17
Diffstat (limited to 'network/iscsitarget/doinst.sh')
-rw-r--r--network/iscsitarget/doinst.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/network/iscsitarget/doinst.sh b/network/iscsitarget/doinst.sh
index 89debfb1e3..e02c47b197 100644
--- a/network/iscsitarget/doinst.sh
+++ b/network/iscsitarget/doinst.sh
@@ -1,4 +1,3 @@
-#!/bin/sh
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
@@ -21,10 +20,10 @@ else
# Install executable otherwise - irrelevant unless user starts in rc.local
chmod 0755 etc/rc.d/rc.iscsi-target.new
fi
-
config etc/rc.d/rc.iscsi-target.new
+config etc/initiators.deny.new
+config etc/initiators.allow.new
+config etc/ietd.conf.new
+
+chroot . depmod -a 2>/dev/null 1>/dev/null
-if [ -x /sbin/depmod ]; then
-echo -e "Updating modules..."
-depmod -a
-fi