forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-20 21dac118b553f9ebfb6b3a809dbe1794dfa9fb0b
1
2
3
4
5
#!/bin/sh
 
for i in $(grep '^/dev/zram' /proc/swaps | awk '{ print $1 }'); do
   swapoff "$i" && zramctl --reset "$i"
done