*This message was transferred with a trial version of CommuniGate(tm) Pro* -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Lunes, 6 de Septiembre de 2004 01:26, sebelk escribió:
gracias Luis , si alguien un script de inicio para el vsftpd sería de mucha ayuda. Sergio Belkin --
* Esto deberia valer * Verifica las rutas al binario que no lo tengo instalado. ################# /etc/init.d/vsftpd ##################### #! /bin/sh # init.d/vsftpd # # System startup script for the vsftpd daemon # ### BEGIN INIT INFO # Provides: vsftpd # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: Start the vsftpd server daemon ### END INIT INFO VSFTPD_BIN=/usr/sbin/vsftpd test -x $VSFTPD_BIN || exit 5 # Shell functions sourced from /etc/rc.status: # rc_check check and set local and overall rc status # rc_status check and set local and overall rc status # rc_status -v ditto but be verbose in local rc status # rc_status -v -r ditto and clear the local rc status # rc_failed set local and overall rc status to failed # rc_failed <num> set local and overall rc status to <num><num> # rc_reset clear local rc status (overall remains) # rc_exit exit appropriate to overall rc status . /etc/rc.status rc_reset case "$1" in start) echo -n "Arrancando el servidor vsftpd:" /sbin/startproc $VSFTPD_BIN --daemon rc_reset case "$1" in start) echo -n "Arrancando el servidor vsftpd:" /sbin/startproc $VSFTPD_BIN --daemon rc_status -v ;; stop) echo -n "Parando el servidor vsftpd:" /sbin/killproc -TERM $VSFTPD_BIN rc_status -v ;; try-restart) $0 status >/dev/null && $0 restart rc_status ;; restart) $0 stop $0 start rc_status ;; force-reload) echo -n "Forzando la recarga del servicio vsftpd:" /sbin/killproc -HUP $VSFTPD_BIN /sbin/killproc -HUP $VSFTPD_BIN rc_status -v ;; reload) echo -n "Recargando servicio vsftpd:" /sbin/killproc -HUP $VSFTPD_BIN rc_status -v ;; status) echo -n "Comprobando el estado del servicio vsftpd: " checkproc $VSFTPD_BIN rc_status -v ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}" exit 1 ;; esac rc_exit ########################### FIN #################### -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFBPMWFAXFL65CppEIRAjutAJ9PBcZ6Hk9Uhp4HSB+gLnns8pXslwCgiDRz UjCY5IDTsbJzVphTBIUxu+8= =PEeQ -----END PGP SIGNATURE-----