Aktualizovat „zfs-backup-mm“
This commit is contained in:
parent
305b08b544
commit
9cc1e599cf
1 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ ! -f "$1" ]]
|
||||||
|
then
|
||||||
|
echo "Config file not exists!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$2" ]
|
if [ -z "$2" ]
|
||||||
then
|
then
|
||||||
lock_variable="/var/lock/zfs-backup-mm"
|
lock_variable="/var/lock/zfs-backup-mm"
|
||||||
|
|
Loading…
Reference in a new issue