diff options
Diffstat (limited to 'meta-moblin/packages/sreadahead/files/sreadahead-generate.sh')
-rwxr-xr-x | meta-moblin/packages/sreadahead/files/sreadahead-generate.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/meta-moblin/packages/sreadahead/files/sreadahead-generate.sh b/meta-moblin/packages/sreadahead/files/sreadahead-generate.sh deleted file mode 100755 index 19438f2935..0000000000 --- a/meta-moblin/packages/sreadahead/files/sreadahead-generate.sh +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | |||
4 | if [ -e /etc/readahead.packed ]; then | ||
5 | exit 0 | ||
6 | fi | ||
7 | |||
8 | if [ -e /etc/readahead.packed.first ]; then | ||
9 | mv /etc/readahead.packed.first /etc/readahead.packed.second | ||
10 | exit 0 | ||
11 | fi | ||
12 | |||
13 | # That's our second boot, we can generate the sreadahead file list | ||
14 | if [ -e /etc/readahead.packed.second ]; then | ||
15 | rm -f /etc/readahead.packed.second | ||
16 | find / -type f | grep -E -v "\/dev\/|\/proc\/|\/sys\/" > filelist.txt | ||
17 | |||
18 | /sbin/generate_filelist filelist.txt | ||
19 | rm filelist.txt | ||
20 | mv readahead.packed /etc/ | ||
21 | fi | ||