X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=utils%2Fpb-console;h=36b9c034e51af0eeaae7b54a03b5ed323798d5dc;hp=64bf77fd0c69e4e77973dc0187bb5a155df872e3;hb=754c0737db6b7337f1d3b40e6e52d9c3abec954f;hpb=71da0c6cb80e3708213a08c06e71f099534bcd2a diff --git a/utils/pb-console b/utils/pb-console index 64bf77f..36b9c03 100644 --- a/utils/pb-console +++ b/utils/pb-console @@ -104,6 +104,13 @@ case "$(tty)" in ;; esac +# we may have been run from udev - ensure we have a sensible PATH +if [ -z "$PATH" ] +then + PATH=/usr/bin:/usr/sbin:/bin:/sbin +fi +export PATH + verbose_opt= if $pb_config debug | grep -q enabled then