I use wminet under Window Maker to run my fetchmail.
-----Original Message----- From: owner-suse-linux-e@suse.com [<A HREF="mailto:owner-suse-linux-e@suse.com]On">mailto:owner-suse-linux-e@suse.com]On</A> Behalf Of Juergen Braukmann Sent: Monday, November 09, 1998 4:28 PM To: suse-linux-e@suse.com Subject: Re: [SuSE Linux] Startup files
Phil Sumner wrote:
Hi.....
If I want to startup "fetchmail -d 900" when my computer boots
into linux,
where do you suggest putting it? I have currently got it loading in /etc/profile but this is unacceptable because if the user loogs out and then logs back in again there is an error message displayed. I thought about putting it as a cron job but I am unsure if this would give me the results I want: fetchmail started as a daemon at startup (before login if this is possible?)
Hi Phil,
yes it is. the usual way is to put the the apropiate script (test it first... putting fetchmail into deamon mode) into /sbin/init.d. But to be able to run it you *must* symblink it from /sbin/init.d/rc2.d and rc3.d. all scripts there reffer to runlevel 2 or 3 (x-win). give it a high number, cause all scripts are started in numerical order. (S??scripts). Its a *bad* idea to fetchmail before the network has started.
The symlink has to be in both rc2.d and rc3.d. About starting the network, how do you connect to the internet? to use my suggestion, this requires either a direct link or sort of preconfigured dial up like I use with my ISDN connection.
If you have to establish a modem connection first, I'd suggest some sort of cron job that fetches mail once only it is called. This is a practicable solution if you have a permanent i-net connection as well, the job would just differ.
Juergen
-- ========================================== __ _ Juergen Braukmann mail: brauki@cityweb.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu| /\\ /__/ / _ \/ // /\ \/ / ==========================================_\_v __/_/_//_/\_,_/ /_/\_\ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e