diff --git a/modules.d/95zfcp_rules/parse-zfcp.sh b/modules.d/95zfcp_rules/parse-zfcp.sh index 499bfe38..d217c45c 100755 --- a/modules.d/95zfcp_rules/parse-zfcp.sh +++ b/modules.d/95zfcp_rules/parse-zfcp.sh @@ -22,13 +22,6 @@ create_udev_rule() { return 0 fi - if [ ! -f "$_rule" ]; then - cat > "$_rule" << EOF -ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="$ccw", IMPORT{program}="collect $ccw %k ${ccw} zfcp" -ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="zfcp", IMPORT{program}="collect $ccw %k ${ccw} zfcp" -ACTION=="add", ENV{COLLECT_$ccw}=="0", ATTR{[ccw/$ccw]online}="1" -EOF - fi [ -z "$wwpn" ] || [ -z "$lun" ] && return m=$(sed -n "/.*${wwpn}.*${lun}.*/p" "$_rule") if [ -z "$m" ]; then @@ -36,9 +29,6 @@ EOF ACTION=="add", KERNEL=="rport-*", ATTR{port_name}=="$wwpn", SUBSYSTEMS=="ccw", KERNELS=="$ccw", ATTR{[ccw/$ccw]$wwpn/unit_add}="$lun" EOF fi - if [ -x /sbin/cio_ignore ] && ! cio_ignore -i "$ccw" > /dev/null; then - cio_ignore -r "$ccw" - fi } if [[ -f /sys/firmware/ipl/ipl_type && \