mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
parent
9a46526fbb
commit
3face36a37
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
function exit_exclude_snapshot_mountpoints {
|
||||
exit_exclude_snapshot_mountpoints() {
|
||||
CFG_FILE=/etc/urbackup/exclude_snapshot_mountpoints
|
||||
if ! test -e "$CFG_FILE"
|
||||
then
|
||||
@ -17,6 +17,7 @@ function exit_exclude_snapshot_mountpoints {
|
||||
done <$CFG_FILE
|
||||
}
|
||||
|
||||
function set_filesystem_type {
|
||||
set_filesystem_type() {
|
||||
TYPE=`df -T -P | egrep " ${1}\$" | head -n 1 | tr -s " " | cut -d" " -f2`
|
||||
export TYPE
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user