summaryrefslogtreecommitdiffstats
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 @@
1#!/bin/sh
2#
3
4if [ -e /etc/readahead.packed ]; then
5 exit 0
6fi
7
8if [ -e /etc/readahead.packed.first ]; then
9 mv /etc/readahead.packed.first /etc/readahead.packed.second
10 exit 0
11fi
12
13# That's our second boot, we can generate the sreadahead file list
14if [ -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/
21fi