View Single Post
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#49
This worked for me (/etc/event.d/tuning):
Code:
description "System Tuning"
author "Christian Wilken"

console output

start on started rcS-late

script
        echo "30" > /proc/sys/vm/swappiness
        echo "1" > /proc/sys/vm/oom_kill_allocating_task
end script
No chmod'ing or anything else needed (look at all the other files in /etc/event.d)...
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...

Last edited by DrWilken; 2010-09-22 at 09:54.