diff options
Diffstat (limited to 'mkinitcpio-netconf.install')
-rw-r--r-- | mkinitcpio-netconf.install | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/mkinitcpio-netconf.install b/mkinitcpio-netconf.install index c9940afc326e..c9e04f887c80 100644 --- a/mkinitcpio-netconf.install +++ b/mkinitcpio-netconf.install @@ -5,9 +5,11 @@ post_install() { This hook will parse the ip= kernel command line variable and configure any interfaces specified using ipconfig found in the mkinitcpio-nfs-utils package. It is meant to be used alongside other hooks that need early userspace networking - such as, mkinitcpio-dropbear. This hook doesn't support yet systemd enabled - initramfs images. To use it, add the netconf hook before any other hook that need - networking in "/etc/mkinitcpio.conf" and rebuild the initramfs. + such as, mkinitcpio-dropbear. There is also an optional netconf_timeout kernel + command line argument that can be used when obtaining the ip address using dhcp, so + that ipconfig will not hang forever waiting for an IP addres. To use this hook + add the netconf hook before any other hook that need networking in + "/etc/mkinitcpio.conf" and rebuild the initramfs. INSTALLEOF } @@ -20,5 +22,10 @@ REMOVEEOF } post_upgrade() { - post_install + cat<<UPGRADEEOF + There is now an optiona kernel command line parameter named netconf_timeout that + is used to pass the timeout option to ipconfig. This is means that when using + ip=dhcp as a kernel command line parameter, ipconfig will not hang forever if the + dhcp server is unavailable. +UPGRADEEOF } |