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

Diff 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 | View Patch Patch

Revision 1.1 by trevorbatley, Sat Mar 19 11:00:45 2016 UTC Revision 1.2 by trevorbatley, Thu Mar 24 09:03:30 2016 UTC
# Line 3  diff -up smeserver-tftp-server-1.0/root/ Line 3  diff -up smeserver-tftp-server-1.0/root/
3  +++ smeserver-tftp-server-1.0/root/etc/e-smith/db/configuration/migrate/tftpd.privilege 2016-03-19 20:41:51.000000000 +1100  +++ 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 @@  @@ -0,0 +1,7 @@
5  +{  +{
6  +    my $tftpd = $DB->get('tftpd') or return;  +    my $tftpd = $DB->get("tftpd");
7  +    if ( $tftpd->prop('privilege') eq "r" )  +    if ( defined $tftpd && $tftpd->prop("privilege") eq "r" )
8  +    {  +    {
9  +       $tftpd->set_prop('privilege' => "ro");  +       $tftpd->set_prop("privilege" => "ro");
10  +    }  +    }
11  +}  +}
 \ No newline at end of file  
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  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  --- 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  +++ 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 @@  @@ -0,0 +1,7 @@
16  +{  +{
17  +    my $tftpd = $DB->get('tftpd') or return;  +    my $tftpd = $DB->get("tftpd") or return "";
18  +    if ( $tftpd->prop('timeout') eq "normal" )  +    if ( $tftpd->prop("timeout") eq "normal" )
19  +    {  +    {
20  +       $tftpd->set_prop('timeout' => "default");  +       $tftpd->set_prop("timeout" => "default");
21  +    }  +    }
22  +}  +}
 \ No newline at end of file  
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  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  --- 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  +++ 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 @@  @@ -0,0 +1,7 @@
27  +{  +{
28  +    my $tftpd = $DB->get('tftpd') or return;  +    my $tftpd = $DB->get("tftpd") or return "";
29  +    if ( $tftpd->prop('user') eq "root" )  +    if ( $tftpd->prop("user") eq "root" )
30  +    {  +    {
31  +       $tftpd->set_prop('user' => "nobody");  +       $tftpd->set_prop("user" => "nobody");
32  +    }  +    }
33  +}  +}
 \ No newline at end of file  


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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