packages/net/keepalived/files/keepalived.init
jow 44f984c16d [packages] keepalived: force enabling of VRRP functionality, fix path to config file in init script (#5088)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-09 22:12:20 +00:00

14 lines
203 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2007-2008 OpenWrt.org
START=70
start() {
[ -f /etc/keepalived/keepalived.conf ] && /usr/sbin/keepalived
}
stop() {
killall keepalived
}