You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
smeserver-flexbackup/createlinks

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 smeserver-flexbackup-updat
#--------------------------------------------------
$event="smeserver-flexbackup-update";
templates2events("/etc/flexbackup.conf", $event);
# systemd-specific action mandatory for this package-update event