浏览代码
Update log2ram
pull/130/head
MegaV0lt
4 年前
committed by
GitHub
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有
1 个文件被更改,包括
4 次插入 和
4 次删除
-
log2ram
|
|
@@ -1,6 +1,6 @@ |
|
|
|
#!/usr/bin/env sh |
|
|
|
|
|
|
|
#. /etc/log2ram.conf |
|
|
|
. /etc/log2ram.conf |
|
|
|
|
|
|
|
if [ -z "$PATH_DISK" ]; then |
|
|
|
PATH_DISK='/var/log' |
|
|
@@ -56,9 +56,9 @@ syncFromDisk () { |
|
|
|
} |
|
|
|
|
|
|
|
wait_for () { |
|
|
|
while ! mount | grep "$1" > /dev/null; do |
|
|
|
sleep 0.1 |
|
|
|
done |
|
|
|
while ! mount | grep "$1" > /dev/null; do |
|
|
|
sleep 0.1 |
|
|
|
done |
|
|
|
} |
|
|
|
|
|
|
|
createZramLogDrive () { |
|
|
|