|
From: Heiko Z. <smi...@us...> - 2005-01-28 23:16:17
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22236/scripts Modified Files: Tag: rel-1-2-patches tftp-hpa Log Message: added init script for tftpd Index: tftp-hpa =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/tftp-hpa,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- tftp-hpa 28 Jan 2005 21:10:47 -0000 1.1.2.1 +++ tftp-hpa 28 Jan 2005 23:16:04 -0000 1.1.2.2 @@ -45,6 +45,15 @@ copy_files $WORKDIR/tmp/usr $CDDIR/ || exit 1 rm -rf $WORKDIR/tmp || exit 1 + + cp $MYDIR/scripts/tftpd $ETCDIR/etc/init.d || exit 1 + echo "# Start the TFTP daemon?" >> $CONFIGFILE + echo "START_TFTPD=no" >> $CONFIGFILE + echo >> $CONFIGFILE + echo "# what should be the root directory for tftpd?" >> $CONFIGFILE + echo "TFTPD_ROOT=/tmp" >> $CONFIGFILE + echo >> $CONFIGFILE + echo "HELP_TFTPD=\"TFTP daemon\"" >> $SOFTWAREHELP fi ;; |