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