diff options
author | Mike Westerhof <mwester@dls.net> | 2008-08-29 16:58:07 +0000 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2008-08-29 16:58:07 +0000 |
commit | ba59d10ded836a1ae40817bd1f75dd36435c2cc1 (patch) | |
tree | 55e2f1610fd789e6cf562bdd403dff3dbb794d6a | |
parent | 328e061342655a3e1b3dbccbb0a3c44352c37bec (diff) |
SlugOS 5.0: /etc/default/functions - also make sure that /dev/tty0 exists
as one of the minimal device nodes.
-rw-r--r-- | packages/slugos-init/files/functions | 1 |
1 files changed, 1 insertions, 0 deletions
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 } # |