projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] update haproxy to 1.4.1 and add hotplug script (#6875)
[openwrt/svn-archive/archive.git]
/
net
/
haproxy
/
files
/
haproxy.init
diff --git
a/net/haproxy/files/haproxy.init
b/net/haproxy/files/haproxy.init
index dd8575ce4e259a046de241ff1fdb68dfa389da66..1b6b5a49b861a05bc4c325f460e01f38610fa262 100644
(file)
--- a/
net/haproxy/files/haproxy.init
+++ b/
net/haproxy/files/haproxy.init
@@
-8,6
+8,12
@@
HAPROXY_BIN="/usr/sbin/haproxy"
HAPROXY_CONFIG="/etc/haproxy.cfg"
HAPROXY_PID="/var/run/haproxy.pid"
+boot() {
+
+ #Do nothing on boot
+ exit 0
+}
+
start() {
[ -x "$HAPROXY_BIN" ] || return 1