projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
packages/frickin: use new service functions
[openwrt/svn-archive/archive.git]
/
net
/
frickin
/
files
/
frickin.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006-2011 OpenWrt.org
3
4
START
=
50
5
6
SERVICE_DAEMONIZE
=
1
7
SERVICE_WRITE_PID
=
1
8
9
DEFAULT
=/
etc
/
default
/
frickin
10
11
start
() {
12
[
-f
$DEFAULT
] &&
.
$DEFAULT
13
service_start
/
usr
/
sbin
/
frickin
$OPTIONS
14
}
15
16
stop
() {
17
service_stop
/
usr
/
sbin
/
frickin
18
}