Browse Source

fips: fixes copy&paste error for "check"

master
Harald Hoyer 15 years ago
parent
commit
59a083d8d1
  1. 16
      modules.d/01fips/check

16
modules.d/01fips/check

@ -1,19 +1,5 @@ @@ -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


Loading…
Cancel
Save