
2 changed files with 20 additions and 0 deletions
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
#!/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 |
||||
exit 255 |
||||
|
Loading…
Reference in new issue