diff options
Diffstat (limited to 'services/agetty-console/run')
-rwxr-xr-x | services/agetty-console/run | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/services/agetty-console/run b/services/agetty-console/run index 5a91e76..9fc6409 100755 --- a/services/agetty-console/run +++ b/services/agetty-console/run @@ -1,2 +1,7 @@ #!/bin/sh -exec agetty console linux +if [ -x /sbin/getty ]; then + GETTY=getty +elif [ -x /sbin/agetty ]; then + GETTY=agetty +fi +exec $GETTY console 38400 linux |