36 lines
1.0 KiB
Perl
36 lines
1.0 KiB
Perl
#!/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");
|
|
|
|
#--------------------------------------------------
|
|
# functions for e-smith-flexbackup-updat
|
|
#--------------------------------------------------
|
|
$event="e-smith-flexbackup-update";
|
|
templates2events("/etc/flexbackup.conf", $event);
|
|
# systemd-specific action mandatory for this package-update event
|
|
|