mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
if condition issue
This commit is contained in:
parent
aefbdb7c99
commit
e54ed85681
2
log2ram
2
log2ram
@ -11,7 +11,7 @@ case "$1" in
|
|||||||
mount --bind $RAM_LOG $HDD_LOG
|
mount --bind $RAM_LOG $HDD_LOG
|
||||||
mount --make-private $HDD_LOG
|
mount --make-private $HDD_LOG
|
||||||
mount -t tmpfs -o nosuid,noexec,nodev,mode=0755,size=$SIZE log2ram $RAM_LOG
|
mount -t tmpfs -o nosuid,noexec,nodev,mode=0755,size=$SIZE log2ram $RAM_LOG
|
||||||
if ["$USE_RSYNC" = true]; then
|
if [[ "$USE_RSYNC" = true ]]; then
|
||||||
rsync -aXWv --delete --links $HDD_LOG $RAM_LOG
|
rsync -aXWv --delete --links $HDD_LOG $RAM_LOG
|
||||||
else
|
else
|
||||||
cp -rfup $HDD_LOG -T $RAM_LOG
|
cp -rfup $HDD_LOG -T $RAM_LOG
|
||||||
|
Loading…
Reference in New Issue
Block a user