blob: a508f00a50a5a60c0d0a6aa451769ff798f05faa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
PREFIX=%%PREFIX%%
case "$1" in
restart)
$0 stop
sleep 2
$0 start
;;
stop)
kldstat -n ixj 2>/dev/null >/dev/null && kldunload ixj
;;
start)
echo -n ' ixj'
rm -f /dev/phone0 /dev/phone1 /dev/phone2 /dev/phone3
mknod /dev/phone0 c 155 0
mknod /dev/phone1 c 155 1
mknod /dev/phone2 c 155 2
mknod /dev/phone3 c 155 3
kldstat -n ixj 2>/dev/null >/dev/null || kldload $PREFIX/modules/ixj.ko
;;
esac
|