mirror of
https://github.com/eblot/pybootd.git
synced 2024-09-11 22:17:44 +03:00
Fix doc typo
This commit is contained in:
parent
3a2148537a
commit
d053b2ed11
13
README.rst
13
README.rst
@ -97,15 +97,16 @@ Configuration
|
|||||||
(which supports DHCP and PXE extensions) and *tftpd*. It is possible to disable
|
(which supports DHCP and PXE extensions) and *tftpd*. It is possible to disable
|
||||||
either services.
|
either services.
|
||||||
|
|
||||||
Usage: pybootd.py [options]
|
Usage: pybootd.py [-h] [-c CONFIG] [-p] [-t] [-d]
|
||||||
PXE boot up server, a tiny BOOTP/DHCP/TFTP server
|
Tiny BOOTP/DHCP/TFTP/PXE server
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-c CONFIG, --config=CONFIG
|
-c CONFIG, --config CONFIG
|
||||||
configuration file
|
configuration file
|
||||||
-p, --pxe enable BOOTP/DHCP/PXE server only
|
-p, --pxe enable BOOTP/DHCP/PXE server only
|
||||||
-t, --tftp enable TFTP server only
|
-t, --tftp enable TFTP server only
|
||||||
|
-d, --debug enable debug mode
|
||||||
|
|
||||||
``pybootd`` daemon uses a configuration file, in ``.ini`` format, for all other
|
``pybootd`` daemon uses a configuration file, in ``.ini`` format, for all other
|
||||||
options.
|
options.
|
||||||
@ -233,7 +234,7 @@ client requests at least an IP address twice:
|
|||||||
The ``[mac]`` section contains one entry for each MAC address to allow or
|
The ``[mac]`` section contains one entry for each MAC address to allow or
|
||||||
block. The value for each entry is a boolean, *i.e.*::
|
block. The value for each entry is a boolean, *i.e.*::
|
||||||
|
|
||||||
``AA-BB-CC-DD-EE-FF = enable``
|
AA-BB-CC-DD-EE-FF = enable
|
||||||
|
|
||||||
Note that due to a limitation of the configuration parser, ':' byte separator
|
Note that due to a limitation of the configuration parser, ':' byte separator
|
||||||
in MAC addresses is not allowed, please use '-' separator.
|
in MAC addresses is not allowed, please use '-' separator.
|
||||||
@ -246,7 +247,7 @@ The ``[static_dhcp]`` section contains one entry for each MAC
|
|||||||
address to associate with a specific IP address. The IP address can be
|
address to associate with a specific IP address. The IP address can be
|
||||||
any IPv4 address in dotted notation, *i.e.*:
|
any IPv4 address in dotted notation, *i.e.*:
|
||||||
|
|
||||||
``AA-BB-CC-DD-EE-FF = 192.168.1.2``
|
AA-BB-CC-DD-EE-FF = 192.168.1.2
|
||||||
|
|
||||||
The MAC addresses specified here will automatically be allowed,
|
The MAC addresses specified here will automatically be allowed,
|
||||||
unless ``[mac]`` section specifies otherwise.
|
unless ``[mac]`` section specifies otherwise.
|
||||||
@ -258,7 +259,7 @@ unless ``[mac]`` section specifies otherwise.
|
|||||||
The ``[uuid]`` section contains one entry for each UUID to allow or block.
|
The ``[uuid]`` section contains one entry for each UUID to allow or block.
|
||||||
The value for each entry is a boolean, *i.e.*::
|
The value for each entry is a boolean, *i.e.*::
|
||||||
|
|
||||||
``xxxxxxxx-aaaa-bbbb-cccc-yyyyyyyyyyyy = enable``
|
xxxxxxxx-aaaa-bbbb-cccc-yyyyyyyyyyyy = enable
|
||||||
|
|
||||||
|
|
||||||
``[http]`` section
|
``[http]`` section
|
||||||
|
@ -18,8 +18,7 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
"""Boot up server, a tiny BOOTP/DHCP/TFTP/PXE server"""
|
"""Tiny BOOTP/DHCP/TFTP/PXE server"""
|
||||||
|
|
||||||
|
|
||||||
from os.path import isfile
|
from os.path import isfile
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
|
Loading…
Reference in New Issue
Block a user