ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] Скрипт для fetchmail
@ 2002-03-07  9:50 Grigory Batalov
  2002-03-07 10:14 ` John
  0 siblings, 1 reply; 8+ messages in thread
From: Grigory Batalov @ 2002-03-07  9:50 UTC (permalink / raw)
  To: mandrake-russian

   Господа, не помню, писал ли кто скрипт для запуска 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.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-03-07 16:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-07  9:50 [mdk-re] Скрипт для fetchmail Grigory Batalov
2002-03-07 10:14 ` John
2002-03-07 10:22   ` Grigory Batalov
2002-03-07 10:47     ` [mdk-re] Re[2]: " roman_tutov
2002-03-07 10:54       ` Grigory Batalov
2002-03-07 11:24         ` Sergey Degtyaryov
2002-03-07 13:54           ` Grigory Batalov
2002-03-07 16:07             ` Sergey Degtyaryov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git