/[smecontribs]/rpms/smeserver-tftp-server/contribs8/smeserver-tftp-server-1.0-migrate.patch
ViewVC logotype

Annotation of /rpms/smeserver-tftp-server/contribs8/smeserver-tftp-server-1.0-migrate.patch

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


Revision 1.2 - (hide annotations) (download)
Thu Mar 24 09:03:30 2016 UTC (8 years, 8 months ago) by trevorbatley
Branch: MAIN
CVS Tags: smeserver-tftp-server-1_0-6_el5_sme, HEAD
Changes since 1.1: +9 -12 lines
Added newline to last line of migrate fragments

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

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