* Add swap server support in dhcpd
@ 2018-11-06 8:00 k0ga
0 siblings, 0 replies; only message in thread
From: k0ga @ 2018-11-06 8:00 UTC (permalink / raw)
To: 9front
--- a/sys/src/cmd/ip/dhcpd/dhcpd.c Mon Oct 22 00:16:04 2018 +0200
+++ b/sys/src/cmd/ip/dhcpd/dhcpd.c Tue Nov 06 07:11:54 2018 +0000
@@ -1186,6 +1186,9 @@
case OBnetbiosns:
a[na++] = "@wins";
break;
+ case OBswapserver:
+ a[na++] = "@swap";
+ break;
case OBsmtpserver:
a[na++] = "@smtp";
break;
@@ -1256,6 +1259,10 @@
j = lookupserver("www", addrs, nelem(addrs), t);
addrsopt(rp, OBwwwserver, addrs, j);
break;
+ case OBswapserver:
+ j = lookupserver("swap", addrs, nelem(addrs), t);
+ addrsopt(rp, OBswapserver, addrs, j);
+ break;
case OBntpserver:
j = lookupserver("ntp", addrs, nelem(addrs), t);
addrsopt(rp, OBntpserver, addrs, j);
--- a/sys/man/8/dhcpd Mon Oct 22 00:16:04 2018 +0200
+++ b/sys/man/8/dhcpd Tue Nov 06 07:56:00 2018 +0000
@@ -159,6 +159,9 @@
the default boot file;
see
.IR ndb (6)
+.TP
+.B swap
+used by Unix machines for boot NFS server
.PD
.PP
.I Dhcpd
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-06 8:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-06 8:00 Add swap server support in dhcpd k0ga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).