From bf36505e4a2e7129a2a0b2e1308c2ebb997c9d0d Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Wed, 20 May 2015 11:07:02 +0300 Subject: [PATCH] Set timeout for live upgrade. --- sbin/gentoo-upgrade.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/gentoo-upgrade.sh b/sbin/gentoo-upgrade.sh index cecf066..d93ddcb 100755 --- a/sbin/gentoo-upgrade.sh +++ b/sbin/gentoo-upgrade.sh @@ -79,7 +79,7 @@ let STAGE_CNT++ if [ $STAGE_CNT -eq $STAGE ]; then echo "======= STAGE $STAGE: Updating gentoo-upgrade script =======" if [ `which smart-live-rebuild 2>/dev/null` ]; then - $NICE_CMD smart-live-rebuild -f app-admin/gentoo-upgrade + $NICE_CMD smart-live-rebuild -ET16 -f app-admin/gentoo-upgrade [ 0 -ne $? ] && echo "Stage $STAGE: Updating gentoo-upgrade script failed ;-( =======" && exit $STAGE fi @@ -456,7 +456,7 @@ let STAGE_CNT++ if [ $STAGE_CNT -eq $STAGE ]; then if [ `which smart-live-rebuild 2>/dev/null` ]; then echo "======= STAGE $STAGE: Upgrading live packages =======" - smart-live-rebuild + smart-live-rebuild -ET16 [ 0 -ne $? ] && echo "Stage $STAGE: Upgrading live packages failed ;-( =======" && exit $STAGE fi