- remove bashism from zfcpconf.sh
This commit is contained in:
parent
52a75a97d6
commit
417b9f047d
@ -5,7 +5,7 @@ Name: s390utils
|
|||||||
Summary: Utilities and daemons for IBM System/z
|
Summary: Utilities and daemons for IBM System/z
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Version: 1.23.0
|
Version: 1.23.0
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: GPLv2 and GPLv2+ and CPL
|
License: GPLv2 and GPLv2+ and CPL
|
||||||
ExclusiveArch: s390 s390x
|
ExclusiveArch: s390 s390x
|
||||||
@ -753,6 +753,9 @@ User-space development files for the s390/s390x architecture.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 07 2015 Dan Horák <dan[at]danny.cz> - 2:1.23.0-15
|
||||||
|
- remove bashism from zfcpconf.sh
|
||||||
|
|
||||||
* Wed Jan 28 2015 Dan Horák <dan[at]danny.cz> - 2:1.23.0-14
|
* Wed Jan 28 2015 Dan Horák <dan[at]danny.cz> - 2:1.23.0-14
|
||||||
- refresh from RHEL-7
|
- refresh from RHEL-7
|
||||||
- update patches
|
- update patches
|
||||||
|
@ -46,7 +46,7 @@ if [ -f "$CONFIG" ]; then
|
|||||||
WWPN=$2
|
WWPN=$2
|
||||||
FCPLUN=$3
|
FCPLUN=$3
|
||||||
fi
|
fi
|
||||||
[ `cat /sys/bus/ccw/drivers/zfcp/${DEVICE}/online` == "0" ] \
|
[ `cat /sys/bus/ccw/drivers/zfcp/${DEVICE}/online` = "0" ] \
|
||||||
&& echo 1 > /sys/bus/ccw/drivers/zfcp/${DEVICE}/online
|
&& echo 1 > /sys/bus/ccw/drivers/zfcp/${DEVICE}/online
|
||||||
[ ! -d /sys/bus/ccw/drivers/zfcp/${DEVICE}/${WWPN}/${FCPLUN} ] \
|
[ ! -d /sys/bus/ccw/drivers/zfcp/${DEVICE}/${WWPN}/${FCPLUN} ] \
|
||||||
&& echo $FCPLUN > /sys/bus/ccw/drivers/zfcp/${DEVICE}/${WWPN}/unit_add
|
&& echo $FCPLUN > /sys/bus/ccw/drivers/zfcp/${DEVICE}/${WWPN}/unit_add
|
||||||
|
Loading…
Reference in New Issue
Block a user