Accepting request 1221334 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1221334 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s390-tools?expand=0&rev=83
This commit is contained in:
commit
512d2a1762
@ -44,6 +44,14 @@ debug_mesg () {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_cio_channel() {
|
||||||
|
echo "$* # ${DATE}" >> /boot/zipl/active_devices.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
remove_cio_channel() {
|
||||||
|
[ -w /boot/zipl/active_devices.txt ] && sed -i -e "/^${1}/d" /boot/zipl/active_devices.txt
|
||||||
|
}
|
||||||
|
|
||||||
usage(){
|
usage(){
|
||||||
echo "Usage: ${0} <read channel> <write channel> <online> [<protocol>]"
|
echo "Usage: ${0} <read channel> <write channel> <online> [<protocol>]"
|
||||||
echo " read/write channel = x.y.ssss where"
|
echo " read/write channel = x.y.ssss where"
|
||||||
@ -112,3 +120,9 @@ RC=${?}
|
|||||||
if [ ${RC} -ne 0 ]; then
|
if [ ${RC} -ne 0 ]; then
|
||||||
exit ${RC}
|
exit ${RC}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ${ON_OFF} == 1 ]; then
|
||||||
|
add_cio_channel "${CTC_READ_CHAN},${CTC_WRITE_CHAN}"
|
||||||
|
else remove_cio_channel "${CTC_READ_CHAN}"
|
||||||
|
remove_cio_channel "${CTC_WRITE_CHAN}"
|
||||||
|
fi
|
||||||
|
@ -43,6 +43,14 @@ debug_mesg () {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_cio_channel() {
|
||||||
|
echo "$* # ${DATE}" >> /boot/zipl/active_devices.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
remove_cio_channel() {
|
||||||
|
[ -w /boot/zipl/active_devices.txt ] && sed -i -e "/^${1}/d" /boot/zipl/active_devices.txt
|
||||||
|
}
|
||||||
|
|
||||||
usage(){
|
usage(){
|
||||||
echo "Usage: ${0} [-f -t <dasd_type> ] <ccwid> <online> [use_diag]"
|
echo "Usage: ${0} [-f -t <dasd_type> ] <ccwid> <online> [use_diag]"
|
||||||
echo
|
echo
|
||||||
@ -157,4 +165,9 @@ elif [ ${ON_OFF} == 1 ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ${ON_OFF} == 1 ]; then
|
||||||
|
add_cio_channel "${CCW_CHAN_ID}"
|
||||||
|
else remove_cio_channel "${CCW_CHAN_ID}"
|
||||||
|
fi
|
||||||
|
|
||||||
exit ${exitcode}
|
exit ${exitcode}
|
||||||
|
@ -43,6 +43,14 @@ debug_mesg () {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_cio_channel() {
|
||||||
|
echo "$* # ${DATE}" >> /boot/zipl/active_devices.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
remove_cio_channel() {
|
||||||
|
[ -w /boot/zipl/active_devices.txt ] && sed -i -e "/^${1}/d" /boot/zipl/active_devices.txt
|
||||||
|
}
|
||||||
|
|
||||||
usage(){
|
usage(){
|
||||||
echo "Usage: ${0} [-f -t <dasd_type> ] <ccwid> <online> [use_diag]"
|
echo "Usage: ${0} [-f -t <dasd_type> ] <ccwid> <online> [use_diag]"
|
||||||
echo
|
echo
|
||||||
@ -157,4 +165,9 @@ elif [ ${ON_OFF} == 1 ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ${ON_OFF} == 1 ]; then
|
||||||
|
add_cio_channel "${CCW_CHAN_ID}"
|
||||||
|
else remove_cio_channel "${CCW_CHAN_ID}"
|
||||||
|
fi
|
||||||
|
|
||||||
exit ${exitcode}
|
exit ${exitcode}
|
||||||
|
@ -48,6 +48,14 @@ debug_mesg () {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_cio_channel() {
|
||||||
|
echo "$* # ${DATE}" >> /boot/zipl/active_devices.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
remove_cio_channel() {
|
||||||
|
[ -w /boot/zipl/active_devices.txt ] && sed -i -e "/^${1}/d" /boot/zipl/active_devices.txt
|
||||||
|
}
|
||||||
|
|
||||||
usage(){
|
usage(){
|
||||||
echo "Usage: ${0} [options] <read chan> <write chan> <data chan> <online>"
|
echo "Usage: ${0} [options] <read chan> <write chan> <data chan> <online>"
|
||||||
echo " -i Configure IP takeover"
|
echo " -i Configure IP takeover"
|
||||||
@ -157,3 +165,10 @@ RC=${?}
|
|||||||
if [ ${RC} -ne 0 ]; then
|
if [ ${RC} -ne 0 ]; then
|
||||||
exit ${RC}
|
exit ${RC}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ${ON_OFF} == 1 ]; then
|
||||||
|
add_cio_channel "${QETH_READ_CHAN},${QETH_WRITE_CHAN},${QETH_DATA_CHAN}"
|
||||||
|
else remove_cio_channel "${QETH_READ_CHAN}"
|
||||||
|
remove_cio_channel "${QETH_WRITE_CHAN}"
|
||||||
|
remove_cio_channel "${QETH_DATA_CHAN}"
|
||||||
|
fi
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 5 07:39:58 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
||||||
|
|
||||||
|
- Amended the *_configure scripts to update again the SUSE's specific file
|
||||||
|
'/boot/zipl/active_devices.txt' (bsc#1232474, bsc#1216257)
|
||||||
|
* ctc_configure
|
||||||
|
* dasd_configure
|
||||||
|
* qeth_configure
|
||||||
|
* zfcp_host_configure
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 8 10:35:04 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
Tue Oct 8 10:35:04 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
||||||
|
|
||||||
|
@ -38,6 +38,14 @@ debug_mesg () {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_cio_channel() {
|
||||||
|
echo "$* # ${DATE}" >> /boot/zipl/active_devices.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
remove_cio_channel() {
|
||||||
|
[ -w /boot/zipl/active_devices.txt ] && sed -i -e "/^${1}/d" /boot/zipl/active_devices.txt
|
||||||
|
}
|
||||||
|
|
||||||
usage(){
|
usage(){
|
||||||
echo "Usage: ${0} <ccwid> <online>"
|
echo "Usage: ${0} <ccwid> <online>"
|
||||||
echo " ccwid = x.y.ssss where"
|
echo " ccwid = x.y.ssss where"
|
||||||
@ -80,3 +88,8 @@ RC=${?}
|
|||||||
if [ ${RC} -ne 0 ]; then
|
if [ ${RC} -ne 0 ]; then
|
||||||
exit ${RC}
|
exit ${RC}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ${ON_OFF} == 1 ]; then
|
||||||
|
add_cio_channel "${CCW_CHAN_ID}"
|
||||||
|
else remove_cio_channel "${CCW_CHAN_ID}"
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user