View Single Post
Posts: 42 | Thanked: 13 times | Joined on Jun 2010 @ Netherlands
#44
Originally Posted by msa View Post
i created a file named swapmop in etc/event.d/

content:


then i rebooted.
when doing cat /proc/sys/vm/swappiness, it still sais "100"

what am i doing wrong? :O
try to add:
Code:
#!/bin/sh
at the very beginning of your script.
also try
Code:
chmod a+x /etc/event.d/swapmop
as root
 

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