/[smecontribs]/rpms/smeserver-tftp-server/contribs10/smeserver-tftp-server-1.2-12025-backup.patch
ViewVC logotype

Contents of /rpms/smeserver-tftp-server/contribs10/smeserver-tftp-server-1.2-12025-backup.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Jun 27 02:28:04 2022 UTC (2 years, 5 months ago) by trevorb
Branch: MAIN
CVS Tags: smeserver-tftp-server-1_2-13_el7_sme, smeserver-tftp-server-1_2-12_el7_sme, HEAD
12025 - add tftp root (/tftpboot) directory to backups-3

1 diff -urN smeserver-tftp-server-1.2.old/createlinks smeserver-tftp-server-1.2/createlinks
2 --- smeserver-tftp-server-1.2.old/createlinks 2022-06-27 11:48:18.009690103 +1000
3 +++ smeserver-tftp-server-1.2/createlinks 2022-06-27 11:53:50.484651989 +1000
4 @@ -1,5 +1,6 @@
5 #!/usr/bin/perl -w
6 use esmith::Build::CreateLinks qw(:all);
7 +use esmith::Build::Backup qw(:all);
8 use File::Basename;
9 use File::Path;
10 # our event specific for updating with yum without reboot
11 @@ -33,3 +34,6 @@
12 #service_link_enhanced("tftpd", "K25", "0");
13
14 # templates2events("/etc/hosts.allow", qw(tftpd-conf));
15 +
16 +# add tftp root directory (/tftpboot) to backups
17 +backup_includes("smeserver-tftp-server", qw(/tftpboot));

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed