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:
be217dc
)
fips: fixes copy&paste error for "check"
author
Harald Hoyer
<harald@redhat.com>
Fri, 18 Jun 2010 10:52:52 +0000
(12:52 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 18 Jun 2010 10:52:52 +0000
(12:52 +0200)
modules.d/01fips/check
patch
|
blob
|
history
diff --git
a/modules.d/01fips/check
b/modules.d/01fips/check
index
e5cd87e
..
9d8d2e6
100755
(executable)
--- a/
modules.d/01fips/check
+++ b/
modules.d/01fips/check
@@
-1,19
+1,5
@@
#!/bin/bash
-. $dracutfunctions
-
-for program in ip arping; do
- which $program >/dev/null 2>&1
- if [ $? -ne 0 ]; then
- dwarning "Could not find program \"$program\" required by network."
- exit 1
- fi
-done
-for program in dhclient brctl; do
- which $program >/dev/null 2>&1
- if [ $? -ne 0 ]; then
- dwarning "Could not find program \"$program\" it might be required by network."
- fi
-done
+[[ $1 = -d ]] && exit 0
exit 255