fcoe/parse-fcoe.sh: s#source#.#g
authorHarald Hoyer <harald@redhat.com>
Fri, 8 Apr 2011 08:21:14 +0000 (10:21 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 8 Apr 2011 08:22:59 +0000 (10:22 +0200)
dash does not understand "source"

modules.d/95fcoe/parse-fcoe.sh

index 4576d68..e42cf2a 100755 (executable)
@@ -61,7 +61,7 @@ if [ "$fcoe_interface" = "edd" ]; then
                 unset fcoe_mac
                 unset fcoe_interface
                 fcoe_mac=$(cat ${nic}/address)
-                [ -n "$fcoe_mac" ] && source /sbin/fcoe-genrules.sh
+                [ -n "$fcoe_mac" ] && . /sbin/fcoe-genrules.sh
             fi
         done
     done
@@ -73,6 +73,6 @@ else
         if [ "$fcoe_dcb" != "nodcb" -a "$fcoe_dcb" != "dcb" ] ; then
             warn "Invalid FCoE DCB option: $fcoe_dcb"
         fi
-        source /sbin/fcoe-genrules.sh
+        . /sbin/fcoe-genrules.sh
     done
-fi
\ No newline at end of file
+fi