|
From: Ross S. W. W. <RW...@me...> - 2010-06-29 21:24:37
|
With kernel cleanup on ietd close there no longer exists a need
to unload the kernel module on ietd restart.
Signed-off-by: Ross Walker
Index: etc/initd/initd.gentoo
===================================================================
--- etc/initd/initd.gentoo (revision 339)
+++ etc/initd/initd.gentoo (working copy)
@@ -27,7 +27,6 @@ stop()
ietadm --op delete
start-stop-daemon --stop --exec /usr/sbin/ietd --pidfile /var/run/iscsi_trgt.pid
rm -f /var/run/iscsi_trgt.pid
- modprobe -r iscsi_trgt
eend $?
}
Index: etc/initd/initd
===================================================================
--- etc/initd/initd (revision 339)
+++ etc/initd/initd (working copy)
@@ -21,7 +21,6 @@ stop_server()
{
ietadm --op delete
killall ietd
- modprobe -r iscsi_trgt
}
case "$1" in
Index: etc/initd/initd.debian
===================================================================
--- etc/initd/initd.debian (revision 339)
+++ etc/initd/initd.debian (working copy)
@@ -38,7 +38,6 @@ ietd_stop()
ietadm --op delete
start-stop-daemon --stop --exec $DAEMON --pidfile $PIDFILE
rm -f $PIDFILE
- modprobe -r iscsi_trgt
log_end_msg $?
}
Index: etc/initd/initd.redhat
===================================================================
--- etc/initd/initd.redhat (revision 339)
+++ etc/initd/initd.redhat (working copy)
@@ -45,7 +45,6 @@ stop()
echo -n "Stopping iSCSI Target: "
ietadm --op delete
killall ietd
- modprobe -r iscsi_trgt
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
echo_success
______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.
|