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

Diff of /rpms/smeserver-tftp-server/contribs8/smeserver-tftp-server-1.0-refuse.patch

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

Revision 1.1 by trevorbatley, Tue Mar 15 10:58:35 2016 UTC Revision 1.2 by trevorbatley, Thu Mar 17 11:17:43 2016 UTC
# Line 1  Line 1 
1    diff -up smeserver-tftp-server-1.0/root/etc/e-smith/db/configuration/defaults/tftpd/user.refuse smeserver-tftp-server-1.0/root/etc/e-smith/db/configuration/defaults/tftpd/user
2    --- smeserver-tftp-server-1.0/root/etc/e-smith/db/configuration/defaults/tftpd/user.refuse      2006-04-04 09:12:17.000000000 +1000
3    +++ smeserver-tftp-server-1.0/root/etc/e-smith/db/configuration/defaults/tftpd/user     2016-03-17 22:12:19.000000000 +1100
4    @@ -1 +1 @@
5    -root
6    \ No newline at end of file
7    +nobody
8  diff -up smeserver-tftp-server-1.0/root/var/service/tftpd/run.refuse smeserver-tftp-server-1.0/root/var/service/tftpd/run  diff -up smeserver-tftp-server-1.0/root/var/service/tftpd/run.refuse smeserver-tftp-server-1.0/root/var/service/tftpd/run
9  --- smeserver-tftp-server-1.0/root/var/service/tftpd/run.refuse 2006-01-21 23:56:00.000000000 +1100  --- smeserver-tftp-server-1.0/root/var/service/tftpd/run.refuse 2016-03-17 22:10:15.000000000 +1100
10  +++ smeserver-tftp-server-1.0/root/var/service/tftpd/run        2016-03-15 21:47:04.000000000 +1100  +++ smeserver-tftp-server-1.0/root/var/service/tftpd/run        2016-03-16 23:04:45.000000000 +1100
11  @@ -11,6 +11,7 @@  @@ -11,6 +11,7 @@
12   #PROP: timeout:        VALUES: default/300                     (secounds, 900 is the default)   #PROP: timeout:        VALUES: default/300                     (secounds, 900 is the default)
13   #PROP: UDPPort:        VALUES: 69   #PROP: UDPPort:        VALUES: 69
# Line 9  diff -up smeserver-tftp-server-1.0/root/ Line 16  diff -up smeserver-tftp-server-1.0/root/
16    
17   TFTPD_STATUS=$(/sbin/e-smith/db configuration getprop tftpd status);   TFTPD_STATUS=$(/sbin/e-smith/db configuration getprop tftpd status);
18   if [ $TFTPD_STATUS == "enabled" ]; then   if [ $TFTPD_STATUS == "enabled" ]; then
19  @@ -21,35 +22,41 @@ if [ $TFTPD_STATUS == "enabled" ]; then  @@ -21,35 +22,43 @@ if [ $TFTPD_STATUS == "enabled" ]; then
20       TFTPD_TIMEOUT=$(/sbin/e-smith/db configuration getprop tftpd timeout);       TFTPD_TIMEOUT=$(/sbin/e-smith/db configuration getprop tftpd timeout);
21       TFTPD_UDPPORT=$(/sbin/e-smith/db configuration getprop tftpd UDPPort);       TFTPD_UDPPORT=$(/sbin/e-smith/db configuration getprop tftpd UDPPort);
22       TFTPD_DIRECTORY=$(/sbin/e-smith/db configuration getprop tftpd directory);       TFTPD_DIRECTORY=$(/sbin/e-smith/db configuration getprop tftpd directory);
# Line 31  diff -up smeserver-tftp-server-1.0/root/ Line 38  diff -up smeserver-tftp-server-1.0/root/
38  -    elif [ $TFTPD_LOG == "normal" ]; then  -    elif [ $TFTPD_LOG == "normal" ]; then
39  -       TFTPD_LOG_SETTING='-v';  -       TFTPD_LOG_SETTING='-v';
40  +       TFTPD_LOG_SETTING="-vv";  +       TFTPD_LOG_SETTING="-vv";
41    +    elif [ $TFTPD_LOG == "disabled" ]; then
42    +       TFTPD_LOG_SETTING="";
43       fi       fi
44    
45  +    TFTPD_PRIVILEGE_SETTING=""  +    TFTPD_PRIVILEGE_SETTING=""
# Line 52  diff -up smeserver-tftp-server-1.0/root/ Line 61  diff -up smeserver-tftp-server-1.0/root/
61       cd /       cd /
62       exec 2>&1       exec 2>&1
63  -    exec    udpsvd     -h $TFTPD_LOG_SETTING -u$TFTPD_USER \  -    exec    udpsvd     -h $TFTPD_LOG_SETTING -u$TFTPD_USER \
64  +    exec    udpsvd     -h $TFTPD_LOG_SETTING -u $TFTPD_USER \  +    exec    udpsvd     -h $TFTPD_LOG_SETTING \
65                          $TFTPD_ACCESS_SETTING $TFTPD_UDPPORT \                          $TFTPD_ACCESS_SETTING $TFTPD_UDPPORT \
66              in.tftpd    $TFTPD_LOG_SETTING $TFTPD_PRIVILEGE_SETTING \              in.tftpd    $TFTPD_LOG_SETTING $TFTPD_PRIVILEGE_SETTING \
67  -                       -u $TFTPD_USER $TFTPD_TIMEOUT_SETTING -s $TFTPD_DIRECTORY  -                       -u $TFTPD_USER $TFTPD_TIMEOUT_SETTING -s $TFTPD_DIRECTORY


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