From: "Grigory Batalov" <bga@kovgok.ru> To: mandrake-russian@altlinux.ru Subject: [mdk-re] Скрипт для fetchmail Date: Thu Mar 7 09:50:33 2002 Message-ID: <20020307095916.56d95314.bga@kovgok.ru> (raw) Господа, не помню, писал ли кто скрипт для запуска 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.
next reply other threads:[~2002-03-07 9:50 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-03-07 9:50 Grigory Batalov [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020307095916.56d95314.bga@kovgok.ru \ --to=bga@kovgok.ru \ --cc=mandrake-russian@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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