MegaV0lt
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
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 () { |
|
|
|