]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90livenet: check() for wget
authorHarald Hoyer <harald@redhat.com>
Thu, 20 Oct 2011 10:33:33 +0000 (12:33 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 20 Oct 2011 11:06:53 +0000 (13:06 +0200)
modules.d/90livenet/module-setup.sh

index b1668597ae5eb941a333b72189ca6f145e996813..3ee7521bec7ee79556d540d501fea8639a0129e1 100755 (executable)
@@ -4,6 +4,7 @@
 check() {
     # a live, host-only image doesn't really make a lot of sense
     [[ $hostonly ]] && return 1
+    command -v wget || return 1
     return 0
 }