3 # Petitboot utility script for running a petitboot UI program
13 echo "pb-console [OPTIONS] console_dev" >&2
15 echo " -d, --detach" >&2
16 echo " Start in a detached (background) state." >&2
17 echo " -h, --help" >&2
18 echo " Print a help message." >&2
40 if [ -n "$console" -a "${console#/dev/}" = "$console" ]
42 console="/dev/$console"
49 echo "Exiting petitboot. Type 'exit' to return."
56 exec <$console >$console 2>&1