/etc/network/if-post-up.d/ scripts are not executed
Hi,
I run Etch on a laptop and cardmgr to configure the PCMCIA ethernet
card. fetchmail is started before the ethernet interface is up, so I
figured that I had to either start or simply awaken it *after* the interface was up, placing a script in /etc/network/if-post-up.d/.
I noticed that /etc/network/if-post-up.d/ didn't exist, so I created it
and placed a script named 'fetchmail' there. However, the script is not
executed when the interface is brought up. /etc/network/interfaces is
then:
iface eth0 inet dhcp
If I change /etc/network/interfaces to:
iface eth0 inet dhcp
post-up /etc/network/if-post-up.d/fetchmail
then the script is executed.
google 'if-post-up.d' didn't bring anything relevant.
I noticed that scripts placed in the other /etc/network subdirectories
if-down.d
if-post-down.d
if-pre-up.d
if-up.d
are executed. I also noticed that if-pre-down.d doesn't exist.
Does anybody know if something else needs to be configured so that ifup
correctly executes scripts in /etc/network/if-post-up.d ?
Thanks
Paulo
Reply to: