/[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.1 - (hide annotations) (download)
Sat Mar 19 11:00:45 2016 UTC (8 years, 8 months ago) by trevorbatley
Branch: MAIN
CVS Tags: smeserver-tftp-server-1_0-5_el5_sme
adding the migrate.patch file

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     + my $tftpd = $DB->get('tftpd') or return;
7     + if ( $tftpd->prop('privilege') eq "r" )
8     + {
9     + $tftpd->set_prop('privilege' => "ro");
10     + }
11     +}
12     \ No newline at end of file
13     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
14     --- smeserver-tftp-server-1.0/root/etc/e-smith/db/configuration/migrate/tftpd.timeout.migrate 1970-01-01 10:00:00.000000000 +1000
15     +++ smeserver-tftp-server-1.0/root/etc/e-smith/db/configuration/migrate/tftpd.timeout 2016-03-19 20:43:27.000000000 +1100
16     @@ -0,0 +1,7 @@
17     +{
18     + my $tftpd = $DB->get('tftpd') or return;
19     + if ( $tftpd->prop('timeout') eq "normal" )
20     + {
21     + $tftpd->set_prop('timeout' => "default");
22     + }
23     +}
24     \ No newline at end of file
25     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
26     --- smeserver-tftp-server-1.0/root/etc/e-smith/db/configuration/migrate/tftpd.user.migrate 1970-01-01 10:00:00.000000000 +1000
27     +++ smeserver-tftp-server-1.0/root/etc/e-smith/db/configuration/migrate/tftpd.user 2016-03-19 20:42:55.000000000 +1100
28     @@ -0,0 +1,7 @@
29     +{
30     + my $tftpd = $DB->get('tftpd') or return;
31     + if ( $tftpd->prop('user') eq "root" )
32     + {
33     + $tftpd->set_prop('user' => "nobody");
34     + }
35     +}
36     \ No newline at end of file

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