projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7635307
)
fcoe/parse-fcoe.sh: s#source#.#g
author
Harald Hoyer
<harald@redhat.com>
Fri, 8 Apr 2011 08:21:14 +0000
(10:21 +0200)
committer
Harald 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
patch
|
blob
|
history
diff --git
a/modules.d/95fcoe/parse-fcoe.sh
b/modules.d/95fcoe/parse-fcoe.sh
index
4576d68
..
e42cf2a
100755
(executable)
--- 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