projects
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enabl...
[packages.git]
/
net
/
vrrpd
/
files
/
vrrpd.init
diff --git
a/net/vrrpd/files/vrrpd.init
b/net/vrrpd/files/vrrpd.init
index
64d686f
..
ff6d53a
100644
(file)
--- a/
net/vrrpd/files/vrrpd.init
+++ b/
net/vrrpd/files/vrrpd.init
@@
-3,11
+3,11
@@
BIN=vrrpd
DEFAULT=/etc/default/$BIN
-[ -f $DEFAULT ] && . $DEFAULT
RUN_D=/var/run
PID_F=$RUN_D/$BIN_${IF}_${ID}.pid
start() {
+ [ -f $DEFAULT ] && . $DEFAULT
$BIN $OPTIONS
}