From: Harald Hoyer Date: Fri, 18 Jun 2010 10:52:52 +0000 (+0200) Subject: fips: fixes copy&paste error for "check" X-Git-Tag: 007~106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=59a083d8d18e3c9364c62740e2307679c2d6c7d2;p=thirdparty%2Fdracut.git fips: fixes copy&paste error for "check" --- diff --git a/modules.d/01fips/check b/modules.d/01fips/check index e5cd87e7b..9d8d2e665 100755 --- 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