commit | 6a042c84430ce5df773d50770b480a46a920f7a3 | [log] [tgz] |
---|---|---|
author | Dees_Troy <dees_troy@teamw.in> | Wed Jan 23 18:50:52 2013 +0000 |
committer | Dees_Troy <dees_troy@teamw.in> | Thu Jan 24 19:45:54 2013 +0000 |
tree | dc1b71734f696f293d0750f6729b00698b85aee9 | |
parent | 3bf2b0e63052bb5537398f38ecc5b19fec7dec39 [diff] [blame] |
Disable USB Mass Storage if the USB lun file does not exist. Change-Id: I185edb4538fa84c17fc2b9a803557bb7a622f880
diff --git a/variables.h b/variables.h index 91c1f2c..0b1c7ab 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_