fcoe/parse-fcoe.sh: s#source#.#g

dash does not understand "source"
master
Harald Hoyer 2011-04-08 10:21:14 +02:00
parent 76353076c0
commit dc4fc03e4b
1 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ if [ "$fcoe_interface" = "edd" ]; then
unset fcoe_mac unset fcoe_mac
unset fcoe_interface unset fcoe_interface
fcoe_mac=$(cat ${nic}/address) fcoe_mac=$(cat ${nic}/address)
[ -n "$fcoe_mac" ] && source /sbin/fcoe-genrules.sh [ -n "$fcoe_mac" ] && . /sbin/fcoe-genrules.sh
fi fi
done done
done done
@ -73,6 +73,6 @@ else
if [ "$fcoe_dcb" != "nodcb" -a "$fcoe_dcb" != "dcb" ] ; then if [ "$fcoe_dcb" != "nodcb" -a "$fcoe_dcb" != "dcb" ] ; then
warn "Invalid FCoE DCB option: $fcoe_dcb" warn "Invalid FCoE DCB option: $fcoe_dcb"
fi fi
source /sbin/fcoe-genrules.sh . /sbin/fcoe-genrules.sh
done done
fi fi