From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: "Grigory Batalov" To: mandrake-russian@altlinux.ru Message-Id: <20020307095916.56d95314.bga@kovgok.ru> Organization: AO "Kovdorsky GOK" X-Mailer: Sylpheed version 0.7.1 (GTK+ 1.2.10; i586-alt-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: [mdk-re] =?KOI8-R?B?88vSydDUIMTM0Q==?= fetchmail Sender: mandrake-russian-admin@altlinux.ru Errors-To: mandrake-russian-admin@altlinux.ru X-BeenThere: mandrake-russian@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: Linux-Mandrake RE / ALT Linux discussion list List-Unsubscribe: , List-Archive: Date: Thu Mar 7 09:50:33 2002 X-Original-Date: Thu, 7 Mar 2002 09:59:16 +0300 Archived-At: List-Archive: List-Post: Господа, не помню, писал ли кто скрипт для запуска fetchmail при старте системы, я что-то не нашёл. Если есть, дайте посмотреть. А вот пока сам набросал: --- #!/bin/sh PID=`pidof fetchmail` [ "$PID" = "" ] && TMPFILE=`mktemp` && { for i in `ls /home`; do if [ -e /home/$i/.fetchmailrc ]; then `cat /home/$i/.fetchmailrc >> $TMPFILE` fi done cat $TMPFILE | fetchmail -d 60 -f - rm -f $TMPFILE } -- Баталов Григорий. --------------------------------------------------------------------------- I am the "ILOVEGNU" signature virus. Just copy me to your signature. This email was infected under the terms of the GNU General Public License.