Package: ifupdown
Version: 0.6.8
Followup-For: Bug #360806

i use the following /etc/network/interfaces pre-up and post-down
commands to do stuff

iface eth0 inet static
....
        pre-up /usr/local/sbin/iip_iptables-restore
                post-down /usr/local/sbin/iip_iptables-save

the pre-up script is executed fine
the post-down script is not executed at all

NOTE: the scripts are fine and have correct permissions
ls -l /usr/local/sbin/iip_iptables-*
-rwx------ 1 root staff 104 May 21  2007
/usr/local/sbin/iip_iptables-restore
-rwx------ 1 root staff 255 Apr 15 20:23
/usr/local/sbin/iip_iptables-save

they also work fine when executed manually

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages ifupdown depends on:
ii  debconf [debconf-2.0]  1.5.11etch1       Debian configuration management sy
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  lsb-base               3.1-23.2etch1     Linux Standard Base 3.1 init scrip
ii  net-tools              1.60-17           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