Skip to content

Commit

Permalink
FIX damm profiles reset after boot. READ MORE!
Browse files Browse the repository at this point in the history
For many users somehow the checksum that i check,
is changed in data partition after reboot!

And this lead to profile reset.

Now, for me, and many others all OK, but for some it's still bugged.

So i have removed the check, and now users need to READ the change log
and if i ask to reset the profile, and no one care!

Then, i dont care too.

end this shit.
  • Loading branch information
dorimanx committed Aug 27, 2013
1 parent 4162744 commit 428f5e0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sbin/ext/post-init.sh
Expand Up @@ -41,11 +41,11 @@ if [ -f /data/.siyah/restore_running ]; then
rm -f /data/.siyah/restore_running;
fi;

ccxmlsum=`md5sum /res/customconfig/customconfig.xml | awk '{print $1}'`
if [ "a$ccxmlsum" != "a`cat /data/.siyah/.ccxmlsum`" ]; then
rm -f /data/.siyah/*.profile;
echo "$ccxmlsum" > /data/.siyah/.ccxmlsum;
fi;
#ccxmlsum=`md5sum /res/customconfig/customconfig.xml | awk '{print $1}'`
#if [ "a$ccxmlsum" != "a`cat /data/.siyah/.ccxmlsum`" ]; then
# rm -f /data/.siyah/*.profile;
# echo "$ccxmlsum" > /data/.siyah/.ccxmlsum;
#fi;

[ ! -f /data/.siyah/default.profile ] && cp -a /res/customconfig/default.profile /data/.siyah/default.profile;
[ ! -f /data/.siyah/battery.profile ] && cp -a /res/customconfig/battery.profile /data/.siyah/battery.profile;
Expand Down

0 comments on commit 428f5e0

Please sign in to comment.