projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enabl...
[openwrt/svn-archive/archive.git]
/
net
/
parprouted
/
files
/
parprouted.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
4
BIN
=
parprouted
5
DEFAULT
=/
etc
/
default
/
$BIN
6
7
start
() {
8
[
-f
$DEFAULT
] &&
.
$DEFAULT
9
$BIN $OPTIONS
10
}
11
12
stop
() {
13
killall
$BIN
14
}