summaryrefslogtreecommitdiffstats
path: root/etc/rc.syscons
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.syscons')
-rw-r--r--etc/rc.syscons6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc.syscons b/etc/rc.syscons
index faae7d4..3a6ed80 100644
--- a/etc/rc.syscons
+++ b/etc/rc.syscons
@@ -33,6 +33,12 @@
kbddev=/dev/ttyv0
viddev=/dev/ttyv0
+# Handle diskless boots, and other situations where syscons is not present
+#
+if [ ! -c "${kbddev}" ]; then
+ exit 0
+fi
+
echo -n 'Configuring syscons:'
# keymap
OpenPOWER on IntegriCloud