[package] update haproxy to 1.4.1 and add hotplug script (#6875)
[openwrt/svn-archive/archive.git] / net / haproxy / files / haproxy.init
index dd8575ce4e259a046de241ff1fdb68dfa389da66..1b6b5a49b861a05bc4c325f460e01f38610fa262 100644 (file)
@@ -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