totdconfig8
Configure script for totd
Usage
totdconfig [-a
[-d
nameserver]
[-D]]
totdconfig [{-r
all | dhcp | resolv | totd}]
totdconfig [-h]
Overview
totdconfig configures or creates /etc/dhclient-enter-hooks,/etc/totd.conf, /etc/resolv.conf (not implemented).
Options
-
-a -
Add totd specific options. Add lines are surrounded by the header and footer lines. Because these line are used by totdconfig to recognize the added lines, so do not modify them. You can modify lines before the header and after the footer line. They are preserved after executing totdconfig. You must specify
-Dor -d option.
-
-D -
Add totd specific configuration into /etc/dhclient-enter-hooks.
-
-d nameserver... -
Add or change totd DNS server to forward its query. It supports both IPv4/IPv6 address. If you specify multiple DNS server, each address must be separated by space.
- -r dhcp,totd,resolv, all
-
Remove totd specific configuration surrounded by the header and footer lines.
dhcp /etc/dhclient-enter-hooks
totd /etc/totd.conf
resolv /etc/resolv.conf (not implemented yet)
allAll of configurataion files mentioned abobe.
-
-h -
Show summary of options.
Releases
Unchanged in 4 releases since Debian 3.1 (Sarge).