View Single Post
Posts: 992 | Thanked: 995 times | Joined on Dec 2009 @ California
#46
#!/bin/sh should not have difference. But don't forget a space between 30 and >

Actually, it is better to use this script in /etc/event.d/myscript

Code:
description "tuning system"
author My Name

console output

start on started rcS-late

script
        echo "30" > /proc/sys/vm/swappiness
end script

Sorry for possible misguide...
 

The Following User Says Thank You to egoshin For This Useful Post: