|
|
2012-12-20
, 08:18
|
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#61
|
You won't have issues as long as you are in open mode
|
|
2012-12-20
, 08:27
|
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#62
|
Ah open mode then you are safeYou won't have issues as long as you are in open mode
|
|
2012-12-20
, 08:40
|
|
Posts: 440 |
Thanked: 203 times |
Joined on May 2010
|
#63
|
I finally download the .deb file and incept it. But let me understand, how to install via MohammadAG repo? Because I'v just done what he said and as I said earlier it doesn't work
|
|
2012-12-20
, 16:22
|
|
Posts: 4 |
Thanked: 0 times |
Joined on Dec 2012
|
#64
|
|
|
2012-12-20
, 17:19
|
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#65
|
| The Following User Says Thank You to coderus For This Useful Post: | ||
|
|
2012-12-20
, 19:55
|
|
Posts: 203 |
Thanked: 538 times |
Joined on Oct 2009
@ Colombia
|
#66
|
|
|
2012-12-21
, 05:10
|
|
Posts: 4 |
Thanked: 0 times |
Joined on Dec 2012
|
#67
|
i never saw screenshot feature in android power menu. maybe it specific for some firmwares?
|
|
2012-12-21
, 07:07
|
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#68
|
|
|
2012-12-21
, 08:01
|
|
Posts: 4 |
Thanked: 0 times |
Joined on Dec 2012
|
#69
|
|
|
2012-12-23
, 04:13
|
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#70
|
#!/bin/sh
#refhashlist patcher
cp /var/lib/aegis/refhashlist /var/lib/aegis/refhashlist.backup
pathname=$1
if [ "$pathname" == "" ];then exit 1; fi
line=$(grep "${pathname}" /var/lib/aegis/refhashlist)
#oldsha1=$(for ii in $(sha1sum /${pathname}); do echo $ii; break; done) #тут был реальный sha1 текущего файла
oldsha1=$(i=0; for ii in $line; do i=$((i+1)); if [ $i -eq 6 ]; then echo $ii; break; fi; done;) #но лучше брать sha1 из refhashlist, чтобы не накосячить наверняка
newsha1=$(for ii in $(sha1sum "/${pathname}"); do echo $ii; break; done)
newline=$(echo ${line} | sed -e "s/${oldsha1}/${newsha1}/")
sed -i -e "s@${line}@${newline}@" /var/lib/aegis/refhashlist
accli -c tcb-sign -F /var/lib/aegis/refhashlist < /var/lib/aegis/refhashlist
#do something with something (with /etc/init/group-mce.conf) refhashlist.sh etc/init/group-mce.conf #without first slash!