-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathswift.include
More file actions
41 lines (35 loc) · 908 Bytes
/
swift.include
File metadata and controls
41 lines (35 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# enable / disable debugging
debug=0;
# where this script is located
my_path=/admin/swift;
if [ -x /bin/mailx ]; then
MAILX_PATH="/bin/mailx";
elif [ -x /usr/bin/mailx ]; then
MAILX_PATH="/usr/bin/mailx";
else
echo '!! MAILX could not be found !!';
fi
curl="/usr/bin/curl";
md5prog="/usr/bin/md5sum";
FILECOMMAND="/usr/bin/file";
db="/root/.swift/sqlite.db";
bc='/usr/bin/bc';
stat="/usr/bin/stat";
gzip="/bin/gzip";
tar="/bin/tar";
hostprog="/bin/hostname"
splitprog="/admin/swift/include/split";
DDPROG="/bin/dd";
sqlite="/usr/bin/sqlite3";
TMP_PATH=/root/tmp;
# this is not the path to partclone itself, we use this to call /usr/sbin/partclone.info and /usr/sbin/partclone.filesystem
partclone_path="/usr/sbin/partclone";
# bw rate limit per second in curl
RATE=8M;
#ignore ssl (curl -k)
ignoressl=1;
#smtpserver=;
#smtppassword=;
#smtpfrom=;
#smtplogin=;
errorsto=youremail@domain.nonexistant;