smeserver-flexbackup/createlinks

36 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

#!/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