git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
328e061
)
SlugOS 5.0: /etc/default/functions - also make sure that /dev/tty0 exists
author
Mike Westerhof
<mwester@dls.net>
Fri, 29 Aug 2008 16:58:07 +0000
(16:58 +0000)
committer
Mike Westerhof
<mwester@dls.net>
Fri, 29 Aug 2008 16:58:07 +0000
(16:58 +0000)
as one of the minimal device nodes.
packages/slugos-init/files/functions
patch
|
blob
|
history
diff --git
a/packages/slugos-init/files/functions
b/packages/slugos-init/files/functions
index
5b6b40b
..
2535269
100644
(file)
--- 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
}
#