bundlewrap/bundles/backup/files/backup_all
2022-02-12 18:42:27 +01:00

11 lines
178 B
Bash

#!/bin/bash
# FIXME: inelegant
% if wol_command:
${wol_command}
% endif
for path in $(jq -r '.paths | .[]' < /etc/backup/config.json)
do
/opt/backup/backup_path "$path"
done