2023-07-12 09:54:20 +02:00
|
|
|
#!/usr/bin/perl -w
|
|
|
|
|
|
|
|
use esmith::Build::CreateLinks qw(:all);
|
|
|
|
|
|
|
|
#--------------------------------------------------
|
|
|
|
# functions for bootstrap-console-save event
|
|
|
|
#--------------------------------------------------
|
|
|
|
|
|
|
|
my $event = "bootstrap-console-save";
|
|
|
|
|
|
|
|
templates2events("/etc/flexbackup.conf", $event);
|
|
|
|
|
|
|
|
#--------------------------------------------------
|
|
|
|
# functions for conf-backup
|
|
|
|
#--------------------------------------------------
|
|
|
|
|
|
|
|
$event = "conf-backup";
|
|
|
|
|
|
|
|
templates2events("/etc/flexbackup.conf", $event);
|
|
|
|
|
|
|
|
#--------------------------------------------------
|
|
|
|
# functions for restore-tape
|
|
|
|
#--------------------------------------------------
|
|
|
|
|
|
|
|
$event = "restore-tape";
|
|
|
|
|
|
|
|
event_link("tape-restore-flexbackup", $event, "10");
|
|
|
|
|
|
|
|
#--------------------------------------------------
|
2024-04-04 17:39:22 +02:00
|
|
|
# functions for smeserver-flexbackup-updat
|
2023-07-12 09:54:20 +02:00
|
|
|
#--------------------------------------------------
|
2024-04-04 17:39:22 +02:00
|
|
|
$event="smeserver-flexbackup-update";
|
2023-07-12 09:54:20 +02:00
|
|
|
templates2events("/etc/flexbackup.conf", $event);
|
|
|
|
# systemd-specific action mandatory for this package-update event
|
|
|
|
|