#!/bin/sh
c=$(grep console= /proc/cmdline)
c=${c/*console=/}
c=${c%,*}
c=${c% *}
if [ "$c" != "" ]; then if [ "$1" = "$c" ]; then echo $c;fi;fi
