ifupdown: improve compatibility with Debian
authorAndreas Oberritter <obi@opendreambox.org>
Mon, 23 Apr 2012 20:08:39 +0000 (22:08 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 23 Apr 2012 20:08:39 +0000 (22:08 +0200)
commit3a9365e2732f5df2cdef758bc1f6e5e9da8fbcef
tree08aa54d5b89fa4bfb31a1b7806fafcef348ae969
parentb9d494453d6229fcb324eb1625bd791116806b42
ifupdown: improve compatibility with Debian

Set environment variable 'PHASE'.
Treat post-up and pre-down as aliases for up and down.
Uses the same logic as ifupdown.nw from ifupdown-0.6.16.
Makes it possible to execute Debian's ifupdown script for
wpa-supplicant.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ifupdown.c