Diff of /mcore-src/trunk/mcore-tools/dracut/module-setup.sh
Parent Directory | Revision Log | Patch
revision 2067 by niro, Wed May 8 14:15:35 2013 UTC | revision 2068 by niro, Wed May 8 14:17:54 2013 UTC | |
---|---|---|
# | Line 4 check() { | Line 4 check() { |
4 | local _program | local _program |
5 | . $dracutfunctions | . $dracutfunctions |
6 | ||
7 | for _program in ifconfig ip route udhcpc xml; do | for _program in ifconfig ip route udhcpc; do |
8 | if ! type -P $_program >/dev/null; then | if ! type -P $_program >/dev/null; then |
9 | derror "Could not find program \"$_program\" required by mcored." | derror "Could not find program \"$_program\" required by mcored." |
10 | return 1 | return 1 |
|