1 |
trevorb |
1.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)); |