Here is some kind of idea of config.txt.
Code: Select all
[?]
detector
[A]
echo hello
umshs D:
echo 17
[C]
echo 19
Code: Select all
if (battery) {
shellcmd("reboot", "19");
}
if (usb) {
shellcmd("reboot", "17");
}
Code: Select all
[?]
detector
[A]
echo hello
umshs D:
echo 17
[C]
echo 19
Code: Select all
if (battery) {
shellcmd("reboot", "19");
}
if (usb) {
shellcmd("reboot", "17");
}