Package: ifupdown
Version: 0.6.7
Severity: normal

I run Etch on a laptop and cardmgr configures my ethernet card. I'm trying to
configure ifupdown to start fetchmail only after the network is up. I then
noticed that /etc/network/if-post-up.d/ didn't exist. I created it and dropped 
my
script there. However, it's not executed when the interface is brought up.

The man page for interfaces(5) says about the pre and post options:

       There  exists  for  each  of  the  above  mentioned options a directory
       /etc/net- work/if-<option>.d/ the scripts in  which  are  run  (with  no
       arguments)  using run-parts(8) after the option itself has been
       processed.

iface eth0 inet dhcp
    post-up /etc/network/if-post-up.d/fetchmail

then the script is executed.

I'm not quite sure if I'm missing something here, or the man page is not in 
sync with the behaviour of the utility.

Paulo

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages ifupdown depends on:
ii  debconf [debconf-2.0]       1.4.52       Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  net-tools                   1.60-15      The NET-3 networking toolkit

ifupdown recommends no packages.

-- debconf information:
  ifupdown/convert-interfaces: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to