summaryrefslogtreecommitdiff
path: root/recipes-core/sysvinit/files/start_getty_open
blob: 3c2f2eff768aadebccb4470f46589b43d01845ef (plain)
1
2
3
4
5
6
#!/bin/sh
# Open console for testing
if [ -c /dev/$2 ]
then 
        PS1='bash# ' /sbin/getty -L $1 $2 xterm -n -l /bin/bash
fi