[populate-initrd] Don't require set_verbose function

If it's not around, define it, so we can use it without error
This commit is contained in:
Ray Strode 2009-09-10 09:54:44 -04:00
parent d8156feb0d
commit 3c2e1453d9

View file

@ -28,6 +28,10 @@ if [ " $(type -t inst) " != " function " ]; then
exit 1
fi
if [ " $(type -t set_verbose) " != " function " ]; then
function set_verbose { true; }
fi
function usage() {
local output="/dev/stdout"
local rc=0