Lost camera - special script [fixed]

Pvls

Member
Joined
Aug 26, 2015
Messages
63
Reaction score
13
Country
Poland
Hello everyone,

I have create autoexec script that in my opinion deserves its own topic and every user should install it!

What is the idea?
When you lsot your camera - duting riding on bike, skiing or any other activity and someone will find it, than he will also find on your SD card your message like:

Code:
Hello,

I have lost the camera.
You have found my camera, i will be very glad if you will send it back to me.

Name Surname
mail@domain.com
Address
Telephone: +XX XXX XXX XXX

Thank you!

You can of course personalize this message, but the main adventage of this script is that this message/file is generated with every boot of camera and will not be deleted even while founder will format SD card!

https://github.com/PJanisio/Xiaomi_Yi_autoexec.ash/tree/master/lost_camera

Script is automatically cleaning itself after installation, so it is one-time action.
At the end i wish everyone to not loose your cameras ๐Ÿ™‚
 
Last edited:
Hi,
I've not used scripts before.
Seems simple, but how do I update my phone number etc.. in the future.
Just reload the files again (edited)?
Thanks
 
You need to delete autoexec.ash script from location: /tmp/fuse_a

by connecting via telnet.
 
Last edited:
I've already loaded the script. Will I now have a problem??
 
I've already loaded the script. Will I now have a problem??
You will no have a problem until you want to use another autoexec.ash script ๐Ÿ™‚

If you want to delete the script, upload script for telnet:
https://github.com/PJanisio/Xiaomi_Yi_autoexec.ash/tree/master/telnet_open

Open connection due to the readme files, login us a root and delete the autoexec.ash:

Code:
rm /tmp/fuse_a/autoexec.ash

Code in repository is fixed. Now it works with any other autoexec.ash script and there is updating script as well as removing the mod code.
 
Last edited:
Back
Top