19 lines
560 B
Plaintext
19 lines
560 B
Plaintext
|
#!/usr/bin/perl -w
|
||
|
|
||
|
use esmith::Build::CreateLinks qw(:all);
|
||
|
use File::Basename;
|
||
|
use File::Path;
|
||
|
|
||
|
templates2events("/etc/crontab", qw(conf-rsync));
|
||
|
templates2events("/etc/rsync.exclude", qw(bootstrap-console-save conf-rsync));
|
||
|
templates2events("/etc/rsync.include", qw(bootstrap-console-save conf-rsync));
|
||
|
|
||
|
my $panel = "manager";
|
||
|
panel_link("rsync", $panel);
|
||
|
|
||
|
my $event ="smeserver-rsync-backup2disk-update";
|
||
|
templates2events("/etc/crontab", $event);
|
||
|
templates2events("/etc/rsync.exclude", $event);
|
||
|
templates2events("/etc/rsync.include", $event);
|
||
|
|