diff --git a/pkg/init/etc/init.d/000-issue b/pkg/init/etc/init.d/000-issue index 7b98c331c..d661c79d4 100755 --- a/pkg/init/etc/init.d/000-issue +++ b/pkg/init/etc/init.d/000-issue @@ -6,7 +6,9 @@ if [ -f /etc/issue ]; then console=*) fulltty=${opt#console=} tty=${fulltty%,*} - cat /etc/issue >> /dev/$tty + if [ -c "/dev/$tty" ] ; then + cat /etc/issue >> "/dev/$tty" + fi esac done fi