Date: Sun, 17 Aug 2014 11:40:39 GMT From: seiya@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r272552 - soc2014/seiya/bootsplash/etc Message-ID: <201408171140.s7HBedmc012288@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408171140.s7HBedmc012288>