From owner-svn-soc-all@FreeBSD.ORG Sun Aug 17 11:40:39 2014 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87A5069C for ; Sun, 17 Aug 2014 11:40:39 +0000 (UTC) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 73F8C2CE5 for ; Sun, 17 Aug 2014 11:40:39 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7HBedSF012300 for ; Sun, 17 Aug 2014 11:40:39 GMT (envelope-from seiya@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.9/8.14.9/Submit) id s7HBedmc012288 for svn-soc-all@FreeBSD.org; Sun, 17 Aug 2014 11:40:39 GMT (envelope-from seiya@FreeBSD.org) Date: Sun, 17 Aug 2014 11:40:39 GMT Message-Id: <201408171140.s7HBedmc012288@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to seiya@FreeBSD.org using -f From: seiya@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r272552 - soc2014/seiya/bootsplash/etc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2014 11:40:39 -0000 Author: seiya Date: Sun Aug 17 11:40:38 2014 New Revision: 272552 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=272552 Log: tiny fix Modified: soc2014/seiya/bootsplash/etc/rc Modified: soc2014/seiya/bootsplash/etc/rc ============================================================================== --- soc2014/seiya/bootsplash/etc/rc Sun Aug 17 11:36:25 2014 (r272551) +++ soc2014/seiya/bootsplash/etc/rc Sun Aug 17 11:40:38 2014 (r272552) @@ -125,12 +125,11 @@ files=`rcorder ${skip} ${skip_firstboot} /etc/rc.d/* ${local_rc} 2>/dev/null` files_num=`echo "$files" | wc -l` -files_num_per_10=`expr $files_num / 10` # FIXME boot_progress=0 i=0 for _rc_elem in ${files}; do i=`expr $i + 1` - if [ $files_num_per_10 -eq $i ]; then + if [ `expr $files_num / 10` -eq $i ]; then boot_progress=`expr $boot_progress + 10` kenv boot_progress=$boot_progress > /dev/null i=0