From 5ecf4e928dae72601cd6391ddaef4db33638b4d1 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Wed, 14 Sep 2011 13:28:21 -0700 Subject: [PATCH] Remove keepalived start up delay --- patches/systemvm/debian/config/etc/init.d/cloud-early-config | 5 ----- 1 file changed, 5 deletions(-) diff --git a/patches/systemvm/debian/config/etc/init.d/cloud-early-config b/patches/systemvm/debian/config/etc/init.d/cloud-early-config index 998889891cf..7724fbbbd67 100755 --- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config +++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config @@ -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