~uphackers/uphack/event.d

« back to all changes in this revision

Viewing changes to readahead-watch

  • Committer: root
  • Date: 2008-03-19 14:51:08 UTC
  • Revision ID: root@blackbook-20080319145108-9lzaud8h1m63ny57
Initial import into bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
description     "Update readahead lists"
 
2
author          "Scott James Remnant"
 
3
 
 
4
start on stopped mount-kernel-filesystems ok
 
5
 
 
6
console output
 
7
 
 
8
pre-start script
 
9
    # We only do this is "profile" is placed on the kernel command-line
 
10
    if ! grep -q "profile" /proc/cmdline; then
 
11
        stop
 
12
    fi
 
13
end script
 
14
 
 
15
exec /sbin/readahead-watch -o /etc/readahead/boot