repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
etc
/
rc.d
/
tpctl
blob
4f3d4d97403d4d8febf82e6f9c0ab0e2b992a7f8
1
#!/bin/sh
2
#
3
# $NetBSD: tpctl,v 1.1 2002/08/27 14:12:14 takemura Exp $
4
#
5
6
# PROVIDE: tpctl
7
# REQUIRE: DAEMON wscons
8
# BEFORE: LOGIN
9
10
$_rc_subr_loaded
.
/
etc
/
rc.subr
11
12
name
=
"tpctl"
13
rcvar
=
$name
14
start_cmd
=
"run_tpctl"
15
stop_cmd
=
":"
16
17
run_tpctl
()
18
{
19
echo
"Calibrating touch panel..."
20
/
usr
/
sbin
/
${name} $rc_flags
21
}
22
23
load_rc_config
$name
24
run_rc_command
"
$1
"