multipath: check for existance before trying to install
parent
0a19e31886
commit
c5488692d4
|
@ -21,7 +21,7 @@ for f in \
|
||||||
/etc/xdrdevices.conf \
|
/etc/xdrdevices.conf \
|
||||||
$(ls $LIBDIR/libmultipath* $LIBDIR/multipath/* 2>/dev/null) \
|
$(ls $LIBDIR/libmultipath* $LIBDIR/multipath/* 2>/dev/null) \
|
||||||
;do
|
;do
|
||||||
inst $f
|
[ -e "$f" ] && inst "$f"
|
||||||
done
|
done
|
||||||
|
|
||||||
inst_hook pre-trigger 02 "$moddir/multipathd.sh"
|
inst_hook pre-trigger 02 "$moddir/multipathd.sh"
|
||||||
|
|
Loading…
Reference in New Issue