Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
lio-utils.216
0116-lio-utils-Change-rc.target.suse-shutdown_l...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0116-lio-utils-Change-rc.target.suse-shutdown_lio_mod-to-.patch of Package lio-utils.216
From f4b1ebbb0fb9d845bdb24d8b4057e6dfebaa3039 Mon Sep 17 00:00:00 2001 From: Nicholas Bellinger <nab@risingtidesystems.com> Date: Tue, 9 Oct 2012 15:14:45 -0700 Subject: lio-utils: Change rc.target.suse:shutdown_lio_mod to follow rc.target Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com> --- scripts/rc.target.suse | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/rc.target.suse b/scripts/rc.target.suse index 5aa5283..c812430 100644 --- a/scripts/rc.target.suse +++ b/scripts/rc.target.suse @@ -215,10 +215,12 @@ function shutdown_fabrics() { function shutdown_lio_mod () { if ! lsmod | grep -q iscsi_target_mod ; then - echo -n $"Unloading LIO-Target/ConfigFS fabric: " - ${LIO_NODE} --unload - rc_status -v - fi + return 0 + fi + + echo -n $"Unloading LIO-Target/ConfigFS fabric: " + ${LIO_NODE} --unload + rc_status -v } function unload_tcm_mod() { -- 1.8.1.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor