summaryrefslogtreecommitdiff
path: root/modules.d/95fcoe
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-04-08 10:21:14 +0200
committerHarald Hoyer <harald@redhat.com>2011-04-08 10:22:59 +0200
commitdc4fc03e4b998be2b41143131fbe6f9946e8cd1e (patch)
treed001d6db9cb236b80b4393ad08326a723b69d00e /modules.d/95fcoe
parent76353076c081ac51647214c5ce910aba027b25db (diff)
downloaddracut-dc4fc03e4b998be2b41143131fbe6f9946e8cd1e.tar.gz
dracut-dc4fc03e4b998be2b41143131fbe6f9946e8cd1e.tar.bz2
dracut-dc4fc03e4b998be2b41143131fbe6f9946e8cd1e.zip
fcoe/parse-fcoe.sh: s#source#.#g
dash does not understand "source"
Diffstat (limited to 'modules.d/95fcoe')
-rwxr-xr-xmodules.d/95fcoe/parse-fcoe.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules.d/95fcoe/parse-fcoe.sh b/modules.d/95fcoe/parse-fcoe.sh
index 4576d68a..e42cf2a4 100755
--- a/modules.d/95fcoe/parse-fcoe.sh
+++ b/modules.d/95fcoe/parse-fcoe.sh
@@ -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