summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/sreadahead/files/sreadahead-generate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta-moblin/packages/sreadahead/files/sreadahead-generate.sh')
-rwxr-xr-xmeta-moblin/packages/sreadahead/files/sreadahead-generate.sh21
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 @@
-#!/bin/sh
-#
-
-if [ -e /etc/readahead.packed ]; then
- exit 0
-fi
-
-if [ -e /etc/readahead.packed.first ]; then
- mv /etc/readahead.packed.first /etc/readahead.packed.second
- exit 0
-fi
-
-# That's our second boot, we can generate the sreadahead file list
-if [ -e /etc/readahead.packed.second ]; then
- rm -f /etc/readahead.packed.second
- find / -type f | grep -E -v "\/dev\/|\/proc\/|\/sys\/" > filelist.txt
-
- /sbin/generate_filelist filelist.txt
- rm filelist.txt
- mv readahead.packed /etc/
-fi