From ba59d10ded836a1ae40817bd1f75dd36435c2cc1 Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Fri, 29 Aug 2008 16:58:07 +0000 Subject: SlugOS 5.0: /etc/default/functions - also make sure that /dev/tty0 exists as one of the minimal device nodes. --- packages/slugos-init/files/functions | 1 + 1 file changed, 1 insertion(+) (limited to 'packages') diff --git a/packages/slugos-init/files/functions b/packages/slugos-init/files/functions index 5b6b40b091..253526995f 100644 --- a/packages/slugos-init/files/functions +++ b/packages/slugos-init/files/functions @@ -191,6 +191,7 @@ checkmount(){ minimaldevnodes(){ [ -c "$1/dev/console" ] || mknod -m 600 "$1/dev/console" c 5 1 || return 1 [ -c "$1/dev/null" ] || mknod -m 666 "$1/dev/null" c 1 3 || return 1 + [ -c "$1/dev/tty0" ] || mknod -m 644 "$1/dev/tty0" c 4 0 || return 1 return 0 } # -- cgit v1.2.3