forked from pool/s390-tools
Marcus Meissner
9b729e2acc
New package per "Factory first" policy. Please list me as bug owner and maintainer, if possible. OBS-URL: https://build.opensuse.org/request/show/459343 OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=1
17 lines
319 B
Bash
17 lines
319 B
Bash
#!/bin/bash
|
|
#
|
|
# setup_cio_ignore
|
|
#
|
|
# Remove the device ids found in /boot/zipl/active_devices.txt
|
|
# from cio_ignore
|
|
#
|
|
|
|
if [ -e /boot/zipl/active_devices.txt ] ; then
|
|
while read dev etc ; do
|
|
[ "$dev" = "#" -o "$dev" = "" ] && continue;
|
|
cio_ignore -r $dev
|
|
done < /boot/zipl/active_devices.txt
|
|
fi
|
|
|
|
exit 0
|