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

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

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


Revision 1.1 - (show annotations) (download)
Thu Oct 29 18:46:46 2020 UTC (4 years, 1 month ago) by brianr
Branch: MAIN
CVS Tags: smeserver-tftp-server-1_2-8_el7_sme, smeserver-tftp-server-1_2-7_el7_sme, smeserver-tftp-server-1_2-10_el7_sme, smeserver-tftp-server-1_2-11_el7_sme, smeserver-tftp-server-1_2-12_el7_sme, smeserver-tftp-server-1_2-13_el7_sme, smeserver-tftp-server-1_2-9_el7_sme, smeserver-tftp-server--, HEAD
Initial import

1 diff -up smeserver-tftp-server-1.2/root/etc/e-smith/db/configuration/migrate/tftpd.privilege.migrate smeserver-tftp-server-1.2/root/etc/e-smith/db/configuration/migrate/tftpd.privilege
2 --- smeserver-tftp-server-1.2/root/etc/e-smith/db/configuration/migrate/tftpd.privilege.migrate 1970-01-01 10:00:00.000000000 +1000
3 +++ smeserver-tftp-server-1.2/root/etc/e-smith/db/configuration/migrate/tftpd.privilege 2016-03-19 20:41:51.000000000 +1100
4 @@ -0,0 +1,7 @@
5 +{
6 + my $tftpd = $DB->get('tftpd') or return;
7 + if ( $tftpd->prop('privilege') eq "r" )
8 + {
9 + $tftpd->set_prop('privilege' => "ro");
10 + }
11 +}
12 diff -up smeserver-tftp-server-1.2/root/etc/e-smith/db/configuration/migrate/tftpd.timeout.migrate smeserver-tftp-server-1.2/root/etc/e-smith/db/configuration/migrate/tftpd.timeout
13 --- smeserver-tftp-server-1.2/root/etc/e-smith/db/configuration/migrate/tftpd.timeout.migrate 1970-01-01 10:00:00.000000000 +1000
14 +++ smeserver-tftp-server-1.2/root/etc/e-smith/db/configuration/migrate/tftpd.timeout 2016-03-19 20:43:27.000000000 +1100
15 @@ -0,0 +1,7 @@
16 +{
17 + my $tftpd = $DB->get('tftpd') or return;
18 + if ( $tftpd->prop('timeout') eq "normal" )
19 + {
20 + $tftpd->set_prop('timeout' => "default");
21 + }
22 +}
23 diff -up smeserver-tftp-server-1.2/root/etc/e-smith/db/configuration/migrate/tftpd.user.migrate smeserver-tftp-server-1.2/root/etc/e-smith/db/configuration/migrate/tftpd.user
24 --- smeserver-tftp-server-1.2/root/etc/e-smith/db/configuration/migrate/tftpd.user.migrate 1970-01-01 10:00:00.000000000 +1000
25 +++ smeserver-tftp-server-1.2/root/etc/e-smith/db/configuration/migrate/tftpd.user 2016-03-19 20:42:55.000000000 +1100
26 @@ -0,0 +1,7 @@
27 +{
28 + my $tftpd = $DB->get('tftpd') or return;
29 + if ( $tftpd->prop('user') eq "root" )
30 + {
31 + $tftpd->set_prop('user' => "nobody");
32 + }
33 +}

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