Your modification doesn't work because swapon is busybox.
This works, it's already included in the diablo-tweaks package, in the "diabloturbo" thread. Code: + for i in $(grep -v ramzswap /proc/swaps|grep -v Filename|cut -d " " -f 1); do + /sbin/swapoff "$i" + /sbin/swapon "$i" + done
+ for i in $(grep -v ramzswap /proc/swaps|grep -v Filename|cut -d " " -f 1); do + /sbin/swapoff "$i" + /sbin/swapon "$i" + done