mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
clean up
This commit is contained in:
parent
17f8207391
commit
f86c90f9d6
2
log2ram
2
log2ram
@ -52,7 +52,7 @@ wait_for () {
|
|||||||
|
|
||||||
createZramLogDrive () {
|
createZramLogDrive () {
|
||||||
# Check Zram Class created
|
# Check Zram Class created
|
||||||
if [ ! -d '/sys/class/zram-control' ]; then
|
if [ ! -d "/sys/class/zram-control" ]; then
|
||||||
modprobe zram
|
modprobe zram
|
||||||
RAM_DEV='0'
|
RAM_DEV='0'
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user