xref: /minix3/etc/devmand/scripts/singlechar (revision 6417d3e064701f35cc549045c4697c1e5151e936)
1#!/bin/sh
2
3if [ "$1" = up ];
4then
5	mknod /dev/$2 c $3 0
6elif [ "$1" = down ];
7then
8	rm /dev/$2
9elif
10	[ "$1" = clean ];
11then
12	rm -f /dev/$2*;
13fi
14