mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
Revert "haproxy: Rework hotplug script for HAProxy"
This reverts commit c9ee50d190.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ "$INTERFACE" == "wan" ] || [ "$INTERFACE" == "lan" ] || return
|
||||
[ "$ACTION" == "ifup" ] &&
|
||||
if [ "$ACTION" = add ]; then
|
||||
/etc/init.d/haproxy enabled && \
|
||||
/etc/init.d/haproxy start
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user