Remove keepalived start up delay

This commit is contained in:
Sheng Yang 2011-09-14 13:28:21 -07:00
parent d7a0841dec
commit 5ecf4e928d
1 changed files with 0 additions and 5 deletions

View File

@ -380,11 +380,6 @@ setup_redundant_router() {
chmod a+x $rrouter_bin_path/*.sh
sed -i "s/--exec\ \$DAEMON;/--exec\ \$DAEMON\ --\ --vrrp;/g" /etc/init.d/keepalived
grep "sleep 10;" /etc/init.d/keepalived > /dev/null
if [ $? -ne 0 ]
then
sed -i "s/if\ start-stop-daemon\ --start/sleep\ 10;if\ start-stop-daemon\ --start/g" /etc/init.d/keepalived
fi
crontab -l|grep "check_heartbeat.sh"
if [ $? -ne 0 ]
then