repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/services - sync with NetBSD-8
[minix.git]
/
etc
/
devmand
/
scripts
/
singlechar
blob
9b8f0c08c807c9298380533ae9776bff74cb2867
1
#!/bin/sh
2
3
if
[
"
$1
"
=
up
];
4
then
5
mknod
/
dev
/
$2
c
$3
0
6
elif
[
"
$1
"
=
down
];
7
then
8
rm
/
dev
/
$2
9
elif
10
[
"
$1
"
=
clean
];
11
then
12
rm
-f
/
dev
/
$2
*;
13
fi