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
/
ez-ipupdate
/
files
/
ez-ipupdate.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
START=50
4
5
BIN=ez-ipupdate
6
CONF=/etc/$BIN.conf
7
RUN_D=/var/run
8
PID_F=$RUN_D/$BIN.pid
9
10
start() {
11
[ -f $CONF ] || exit
12
mkdir -p $RUN_D
13
$BIN -c $CONF
14
}
15
16
stop() {
17
[ -f $PID_F ] && kill $(cat $PID_F)
18
}