View Single Post
Old 03-29-2014, 06:33 PM   #8
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
I think this is more comfortable, since you can see when the process of copying is finished. During copying the update animation is shown, but of course it is not updating.

Code:
#!/bin/sh
sourceFile=/mnt/sd/KoboRoot.tgz
targetDir=/mnt/onboard/.kobo

if [ -e $sourceFile ]; then
# start animation
    /etc/init.d/update-animator.sh &
# copy
    cp $sourceFile $targetDir
# stop animation
    killall update-animator.sh
fi

Quote:
Originally Posted by Ken Maltby View Post
Would your example generate the update handling options in your Start Menu?
Generally speaking, yes. And if for some reason it doesn't, it will after a power circle.

Last edited by tshering; 03-29-2014 at 06:35 PM.
tshering is offline   Reply With Quote