On Jun 5, 2009, at 10:59 AM, Bill Nottingham <[email protected]> wrote:

Seewer Philippe ([email protected]) said:
---
diff --git a/modules.d/40network/dhclient-script
b/modules.d/40network/dhclient-script
index 1ee78fe..d283762 100755
--- a/modules.d/40network/dhclient-script
+++ b/modules.d/40network/dhclient-script
@@ -69,7 +69,7 @@ setup_interface() {

case $reason in
    PREINIT)
-       run /sbin/ip link set $netif up
+       run ip link set $netif up
       ;;
    BOUND)
       setup_interface

Why does it not always work, unless you're breaking your initramfs?

What if your distro does not put ip in /sbin?

Besides, hardcoding executable locations when we know we have a sane path is silly.



Bill
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to