projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
port lots of init scripts over to rc.common (more to come)
[packages.git]
/
net
/
ez-ipupdate
/
files
/
ez-ipupdate.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
4
BIN=ez-ipupdate
5
CONF=/etc/$BIN.conf
6
RUN_D=/var/run
7
PID_F=$RUN_D/$BIN.pid
8
9
start() {
10
[ -f $CONF ] || exit
11
mkdir -p $RUN_D
12
$BIN -c $CONF
13
}
14
15
stop() {
16
[ -f $PID_F ] && kill $(cat $PID_F)
17
}