404 |
fi |
fi |
405 |
|
|
406 |
mv ${tmpKList} ${ubootDir}/${ubootKList} |
mv ${tmpKList} ${ubootDir}/${ubootKList} |
407 |
|
[ -x /sbin/a-b-c ] && /sbin/a-b-c |
408 |
else |
else |
409 |
[[ -n ${verbose} ]] && echo "uImage ${newversion} does not exist!" |
[[ -n ${verbose} ]] && echo "uImage ${newversion} does not exist!" |
410 |
[ -f ${tmpKList} ] && rm -f ${tmpKList} |
[ -f ${tmpKList} ] && rm -f ${tmpKList} |
531 |
[[ -n ${verbose} ]] && echo "copy uInitrd-${version} error, kernel not installed!" && exit |
[[ -n ${verbose} ]] && echo "copy uInitrd-${version} error, kernel not installed!" && exit |
532 |
fi |
fi |
533 |
echo ${version} >> ${ubootDir}/${ubootKList} |
echo ${version} >> ${ubootDir}/${ubootKList} |
534 |
|
[ -x /sbin/a-b-c ] && /sbin/a-b-c |
535 |
else |
else |
536 |
[[ -n ${verbose} ]] && echo "cannot make ${version} the default" |
[[ -n ${verbose} ]] && echo "cannot make ${version} the default" |
537 |
fi |
fi |