socsvn commit: r272552 - soc2014/seiya/bootsplash/etc
seiya at FreeBSD.org
seiya at FreeBSD.org
Sun Aug 17 11:40:39 UTC 2014
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
More information about the svn-soc-all
mailing list