slitaz-arm rev 161

piboot: fix moving old log file
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 22:50:31 2014 +0200 (2014-05-02)
parents 912becb63cb6
children 3f264eb9c5a5
files rpi/piboot
line diff
     1.1 --- a/rpi/piboot	Fri May 02 22:49:16 2014 +0200
     1.2 +++ b/rpi/piboot	Fri May 02 22:50:31 2014 +0200
     1.3 @@ -12,7 +12,7 @@
     1.4  
     1.5  # Check for depends ...
     1.6  LOG=/var/log/$(basename $0).log
     1.7 -mv -f $LOG $LOG.0 /dev/null
     1.8 +mv -f $LOG $LOG.0 >/dev/null
     1.9  while read file pkg ; do
    1.10  	[ "$(which $file)" ] && continue
    1.11  	echo "Can't find $file. Please install $pkg." >> $LOG