diff --git a/extendedcommands.c b/extendedcommands.c index 23d4094..1c0a130 100644 --- a/extendedcommands.c +++ b/extendedcommands.c @@ -387,28 +387,25 @@ void do_mount_usb_storage() system("echo 0 > /sys/devices/platform/usb_mass_storage/lun0/enable"); } -int amend_main(int argc, char** argv) +#define EXTENDEDCOMMAND_SCRIPT "/cache/recovery/extendedcommand" + +int extendedcommand_file_exists() { - if (argc != 2) - { - printf("Usage: amend