View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#4923
OK I have a little problem with tweak F-7..
We have option to give a names to our images for lockscreen. It work perfect, but only until first reboot... After reboot the script of Tweak F stop to work and we get:
Code:
/opt/N9QTweak/N9QT: /opt/N9QTweak/N9QT/Tweaks/TweakF: /bin/bash bad interpreter: Operation not permitted
I tried to fix it but don't know how...
We use sed command to write the names, the permission to all my scripts is 4755. I have this command in the "rule" file before packaging:
Code:
chmod 4755 /opt/N9QTweak/N9QT/Tweaks/*
I tried change to the different permissions, but the same result
Someone know how to fix it ?


EDIT: Ok I found quick but ugly solution for this issue...
I added this command to the "START" script:
Code:
sed -i 's/#!\/bin\/bash/#!\/bin\/bash/g' /opt/N9QTweak/Twea
ks/TweakF
Now all work perfectly, but this solution is ugly and not normal...
Still the same question if someone know how to fix it correctly I would like to know....

Last edited by Schturman; 2012-12-01 at 23:40.