projects
/
radsecproxy.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Ups...
[radsecproxy.git]
/
packaging
/
pkgsrc
/
net
/
radsecproxy
/
files
/
radsecproxy.sh
1
#!/bin/sh
2
#
3
# PROVIDE: radsecproxy
4
# REQUIRE: network
5
#
6
7
if [ -f /etc/rc.subr ]
8
then
9
. /etc/rc.subr
10
fi
11
12
name="radsecproxy"
13
rcvar=${name}
14
command="/usr/pkg/sbin/${name}"
15
command_args="-c /usr/pkg/etc/${name}.conf"
16
17
if [ -f /etc/rc.subr ]
18
then
19
load_rc_config $name
20
run_rc_command "$1"
21
else
22
echo -n ' ${name}'
23
exec ${command} ${command_args}
24
fi