Lines 355-361
clean_tmp_files
Link Here
|
355 |
# Set and source the configuration file for Backup mode. If -w is given don't source, the gui wrapper will source it |
355 |
# Set and source the configuration file for Backup mode. If -w is given don't source, the gui wrapper will source it |
356 |
if [ "$BRmode" = "0" ] && [ -z "$BRwrap" ]; then |
356 |
if [ "$BRmode" = "0" ] && [ -z "$BRwrap" ]; then |
357 |
if [ -z "$BRconf" ]; then |
357 |
if [ -z "$BRconf" ]; then |
358 |
BRconf="/etc/backup.conf" |
358 |
BRconf="/etc/conf.d/system-tar-and-restore-Backup.conf" |
359 |
elif [ -n "$BRconf" ] && [ ! -f "$BRconf" ]; then |
359 |
elif [ -n "$BRconf" ] && [ ! -f "$BRconf" ]; then |
360 |
echo -e "[${RED}ERROR${NORM}] File does not exist: $BRconf" >&2 |
360 |
echo -e "[${RED}ERROR${NORM}] File does not exist: $BRconf" >&2 |
361 |
exit |
361 |
exit |