Mark, this is actually right:
ACTION=="add", RUN+="/sbin/start-stop-daemon --start --background --pidfile /var/run/network/bogus --startas /sbin/ifup -- --allow auto $env{INTERFACE}"
The '--' applies to start-stop-daemon, not to ifup. Everything after -- is passed as arguments to the program given in --startas, so this is resolved to
ifup --allow auto ethX
Joachim, do you still have this problem on Feisty?
Mark, this is actually right:
ACTION=="add", RUN+="/ sbin/start- stop-daemon --start --background --pidfile /var/run/ network/ bogus --startas /sbin/ifup -- --allow auto $env{INTERFACE}"
The '--' applies to start-stop-daemon, not to ifup. Everything after -- is passed as arguments to the program given in --startas, so this is resolved to
ifup --allow auto ethX
Joachim, do you still have this problem on Feisty?