From 6a042c84430ce5df773d50770b480a46a920f7a3 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Wed, 23 Jan 2013 18:50:52 +0000 Subject: Disable USB Mass Storage if the USB lun file does not exist. Change-Id: I185edb4538fa84c17fc2b9a803557bb7a622f880 --- variables.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'variables.h') diff --git a/variables.h b/variables.h index 91c1f2c13..0b1c7ab58 100644 --- a/variables.h +++ b/variables.h @@ -167,4 +167,8 @@ // Max archive size for tar backups before we split (1.5GB) #define MAX_ARCHIVE_SIZE 1610612736LLU +#ifndef CUSTOM_LUN_FILE +#define CUSTOM_LUN_FILE "/sys/devices/platform/usb_mass_storage/lun%d/file" +#endif + #endif // _VARIABLES_HEADER_ -- cgit v1.2.3