packages/net/haproxy/files/haproxy.hotplug
florian 5d5bd183a8 [package] update haproxy to 1.4.1 and add hotplug script (#6875)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-19 21:02:23 +00:00

9 lines
107 B
Bash

#!/bin/sh
if [ "$ACTION" = add ]; then
/etc/init.d/haproxy enabled && \
/etc/init.d/haproxy start
fi