projects
/
10.03
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git]
/
net
/
freeradius
/
files
/
radiusd.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
START=50
4
5
DEFAULT=/etc/default/radiusd
6
LOG_D=/var/log/radius
7
RUN_D=/var/run
8
PID_F=$RUN_D/radiusd.pid
9
10
start() {
11
[ -f $DEFAULT ] && . $DEFAULT
12
mkdir -p $LOG_D
13
mkdir -p $RUN_D
14
radiusd $OPTIONS
15
}
16
17
stop() {
18
[ -f $PID_F ] && kill $(cat $PID_F)
19
}