tftp/rc.tftp

changeset 796
02101011a9bc
parent 795
ef076e9bc56b
equal deleted inserted replaced
0:9c2a43567358 1:70a4d78ef9d6
30 echo "tftp_active=\"$tftp_active\"" 30 echo "tftp_active=\"$tftp_active\""
31 31
32 %start -u @l_susr@ 32 %start -u @l_susr@
33 rcService tftp enable yes || exit 0 33 rcService tftp enable yes || exit 0
34 rcService tftp active yes && exit 0 34 rcService tftp active yes && exit 0
35 opts="-l -u @l_nusr@ -m @l_prefix@/etc/tftp/tftpd.remap" 35 opts="-l -u @l_nusr@ -m @l_prefix@/etc/tftp/tftpd.remap -P$tftp_pidfile"
36 if [ ".$tftp_listen" != . ]; then 36 if [ ".$tftp_listen" != . ]; then
37 opts="$opts -a $tftp_listen" 37 opts="$opts -a $tftp_listen"
38 fi 38 fi
39 if [ ".$tftp_flags" != . ]; then 39 if [ ".$tftp_flags" != . ]; then
40 opts="$opts $tftp_flags" 40 opts="$opts $tftp_flags"

mercurial