Diff of /trunk/mkinitrd-magellan/busybox/docs/ifupdown_design.txt
Parent Directory | Revision Log | Patch
revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC | revision 984 by niro, Sun May 30 11:32:42 2010 UTC | |
---|---|---|
# | Line 26 static int dhcp_down(struct interface_de | Line 26 static int dhcp_down(struct interface_de |
26 | } | } |
27 | bb_error_msg("no dhcp clients found, using static interface shutdown"); | bb_error_msg("no dhcp clients found, using static interface shutdown"); |
28 | return static_down(ifd, exec); | return static_down(ifd, exec); |
29 | #elif ENABLE_APP_UDHCPC | #elif ENABLE_UDHCPC |
30 | return execute("kill " | return execute("kill " |
31 | "`cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec); | "`cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec); |
32 | #else | #else |
|