1
0
mirror of https://github.com/azlux/log2ram synced 2024-11-23 22:06:10 +00:00

Compare commits

..

No commits in common. "a342af9ed8621388e0b11e3e946937fa0e0938af" and "fbd8868ae191d1358501025599e4e4cce2e2103f" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -61,8 +61,8 @@
backrefs: true backrefs: true
loop: loop:
- {regexp: '^SIZE=(.*)$', line: 'SIZE={{ log2ram_size }}'} - {regexp: '^SIZE=(.*)$', line: 'SIZE={{ log2ram_size }}'}
- {regexp: 'USE_RSYNC=(.*)$', line: 'USE_RSYNC={{ log2ram_use_rsync }}'} - {regexp: 'USE_RSYNC=(.*)$', line: 'SIZE={{ log2ram_use_rsync }}'}
- {regexp: '^MAIL=(.*)$', line: 'MAIL={{ log2ram_mail }}'} - {regexp: '^MAIL=(.*)$', line: 'SIZE={{ log2ram_mail }}'}
- {regexp: '^PATH_DISK=(.*)$', line: 'PATH_DISK="{{ log2ram_path_disk }}"'} - {regexp: '^PATH_DISK=(.*)$', line: 'PATH_DISK="{{ log2ram_path_disk }}"'}
- {regexp: '^ZL2R=(.*)$', line: 'ZL2R={{ log2ram_use_z2lr|lower }}'} - {regexp: '^ZL2R=(.*)$', line: 'ZL2R={{ log2ram_use_z2lr|lower }}'}
- {regexp: '^COMP_ALG=(.*)$', line: 'COMP_ALG={{ log2ram_comp_alg }}'} - {regexp: '^COMP_ALG=(.*)$', line: 'COMP_ALG={{ log2ram_comp_alg }}'}

View File

@ -89,9 +89,6 @@ case "$1" in
start) start)
IFS=';' IFS=';'
for i in $PATH_DISK; do for i in $PATH_DISK; do
# Skip the path if the folder doesn't exist
[ ! -d "$i" ] && continue
PATH_FIRST_PART="${i%/*}" PATH_FIRST_PART="${i%/*}"
PATH_LAST_PART="${i##/*/}" PATH_LAST_PART="${i##/*/}"
RAM_LOG="$i" RAM_LOG="$i"