| commit | 94caefedb7758b6d520bb98a7e9a7befb57312f4 | [log] [tgz] |
|---|---|---|
| author | Koushik Dutta <koushd@gmail.com> | Fri Jun 10 09:17:30 2011 -0700 |
| committer | Koushik Dutta <koushd@gmail.com> | Fri Jun 10 09:17:30 2011 -0700 |
| tree | 6b0e30fc46567409dd0e03041cbf10109e67413c | |
| parent | 2e0964bed1aae7af3a1bcb5ca304a024d80a203e [diff] [blame] |
move the sdcard symlinker into process_volumes Change-Id: I863fbeadea8428c7809260522316c493a6ea33ea
diff --git a/extendedcommands.c b/extendedcommands.c index 9439739..b32ca0b 100644 --- a/extendedcommands.c +++ b/extendedcommands.c
@@ -1105,7 +1105,11 @@ void process_volumes() { create_fstab(); - + if (volume_for_path("/sdcard") == NULL) { + rmdir("/sdcard"); + symlink("/data/media", "/sdcard"); + } + return; // dead code.