SmileeTiger
Programmer
I am trying to start fetchmail on bootup under Mandrake 8.1 what I want to
do is simply have a script that runs every boot containing the following:
fetchmail -d 300
that's all.
If I run runlevel it gives me the following:
# runlevel
N 5
So I assume I am in run level 5 and therefore I should place the script in
/etc/inet.d/
I called the file Fetchmail and placed fetchmail -d 300 inside
I then create a symbolic link to this file and place it in /etc/rc.d/rc5.d
using the following command '
I assume I have the correct permissions set because when I do an ls -la on
/etc/rc.d/rc5.d/ I get:
lrwxrwxrwx 1 root root 21 Jun 26 17:00 S99Fetchmail ->
/etc/init.d/Fetchmail*
On /etc/init.d/ I get:
-rwxr-xr-x 1 root root 28 Jun 26 17:11 Fetchmail*
All of this doesn't work however..... any suggestions on what to do?
I know i can use fetchmailconf to streamline this but I would perfer to know how to do it for anything I wanna start
do is simply have a script that runs every boot containing the following:
fetchmail -d 300
that's all.
If I run runlevel it gives me the following:
# runlevel
N 5
So I assume I am in run level 5 and therefore I should place the script in
/etc/inet.d/
I called the file Fetchmail and placed fetchmail -d 300 inside
I then create a symbolic link to this file and place it in /etc/rc.d/rc5.d
using the following command '
I assume I have the correct permissions set because when I do an ls -la on
/etc/rc.d/rc5.d/ I get:
lrwxrwxrwx 1 root root 21 Jun 26 17:00 S99Fetchmail ->
/etc/init.d/Fetchmail*
On /etc/init.d/ I get:
-rwxr-xr-x 1 root root 28 Jun 26 17:11 Fetchmail*
All of this doesn't work however..... any suggestions on what to do?
I know i can use fetchmailconf to streamline this but I would perfer to know how to do it for anything I wanna start