Quote:
Originally Posted by trcm
I added a step 5.5, so that if anything tries to call these binaries, it gets a successful exit code rather than an error :
# echo "/bin/true" > /usr/bin/otav3
# echo "/bin/true" > /usr/bin/otaupd
# chmod +x /usr/bin/otav3 /usr/bin/otaupd
|
Shouldn't that be:
# echo "#!/bin/sh" > /usr/bin/otav3
# echo "/bin/true" >> /usr/bin/otav3
# echo "#!/bin/sh" > /usr/bin/otaupd
# echo "/bin/true" >> /usr/bin/otaupd
# chmod 755 /usr/bin/otav3 /usr/bin/otaupd
(last line is minor, but chmod +x results in 775 permissions, which does not match the original permissions)