]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Add the persistent option to the default dhcpcd.conf
authorRoy Marples <roy@marples.name>
Mon, 26 Aug 2013 12:20:53 +0000 (12:20 +0000)
committerRoy Marples <roy@marples.name>
Mon, 26 Aug 2013 12:20:53 +0000 (12:20 +0000)
Document how this can affect connected clients at shutdown, such as SSH

dhcpcd.8.in
dhcpcd.conf
dhcpcd.conf.5.in

index 303e791bae4f01d365ab613823ab39792c53fe89..ff2f704a0a014e143c1909cb2be1da0ad994a44a 100644 (file)
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd August 19, 2013
+.Dd August 26, 2013
 .Dt DHCPCD 8
 .Os
 .Sh NAME
@@ -351,7 +351,8 @@ normally de-configures the
 .Ar interface
 and configuration when it exits.
 Sometimes, this isn't desirable if, for example, you have root mounted over
-NFS.
+NFS or SSH clients connect to this host and they need to be notified of
+the host shutting down.
 You can use this option to stop this from happening.
 .It Fl r , Fl Fl request Op Ar address
 Request the
index 349c6f22037cbdb02be4bd50330aca10d65585d3..96eaf523c4d161a677d44a44b1a9418bc572616a 100644 (file)
@@ -10,6 +10,9 @@ hostname
 # Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
 duid
 
+# Persist interface configuration when dhcpcd exits.
+persistent
+
 # Rapid commit support.
 # Safe to enable by default because it requires the equivalent option set
 # on the server to actually work.
index bdbd65bfc5f49a066e1e571f5620d689047d0bd9..a24d1af3ad45387ca9a5c651b732c9e1a637bd63 100644 (file)
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd August 25, 2013
+.Dd August 26, 2013
 .Dt DHCPCD.CONF 5 SMM
 .Os
 .Sh NAME
@@ -138,7 +138,8 @@ and should not be copied to other hosts.
 .Nm dhcpcd
 normally de-configures the interface and configuration when it exits.
 Sometimes, this isn't desirable if, for example, you have root mounted over
-NFS.
+NFS or SSH clients connect to this host and they need to be notified of
+the host shutting down.
 You can use this option to stop this from happening.
 .It Ic fallback Ar profile
 Fallback to using this profile if DHCP fails.