Commit Briefs

abe908923c Stefan Sperling

add commands to control syslogd (syslog2)

Currently supported syslog commands: syslog no syslog syslog reload syslog inet4 no syslog inet4 syslog inet6 no syslog inet6 syslog socket PATH syslog custom-ca PATH syslog system-ca syslog client-cert PATH no syslog client-cert syslog client-key PATH no syslog client-key syslog loghost no syslog loghost


c8444142f7 Stefan Sperling

add no-command support to ctl


8fff88de81 Stefan Sperling

add rcctl framework


1e0d215510 Stefan Sperling

add sl_str() helper function


4c069210fd Stefan Sperling

fix an apparent off-by-one in step_optreq



148870ff89 Stefan Sperling

document the release process; requested by Tom


615e468d94 GitHub

Merge pull request #144 from sthen/patch-2

fix motd permissions in integration scripts


ee429a4180 GitHub

/etc/motd should be world-readable


2a9ef7a8ee Stefan Sperling

remove version number from README.md

we will probably always forget to update it here like I just did


ef69a664bb GitHub

/etc/motd should be world-readable


b740cdab60 Stefan Sperling

bump version number for release (tags/v1.2)


21fe5c7040 GitHub

/etc/motd should be world-readable


343280d828 Stefan Sperling

missed two makefiles for DESTDIR to PREFIX conversion



4d94c0a117 GitHub

Update ctl.c add Sentinal as caught and suggested by Stsp

Update ctl.c add Sentinal as caught and suggested by Stsp


217211a383 Stefan Sperling

sync dist file list


45cf44c0fe Stefan Sperling

only create nsh database in privileged mode

Avoids noisy warnings on startup as a regular user when the database does not exist yet. ok chris


b617ed0565 Stefan Sperling

ensure that build timestamp is kept up-to-date on each build


e5e26f31af Stefan Sperling

make -current builds display build timestamp and compilation info in greeting

Suggested by Tom


63eda621ba Stefan Sperling

generate man command tab-completion table with a script at build-time

This prevents the table from becoming out of date going forward. There were a few tags in nsh.8 which weren't yet being displayed: + { "inet6", "Search for tag inet6", CMPL0 NULL, 0 }, + { "powerdown", "Search for tag powerdown", CMPL0 NULL, 0 }, + { "saveenv", "Search for tag saveenv", CMPL0 NULL, 0 }, And an error has been corrected: - { "unsetenv", "Search for tag setenv", CMPL0 NULL, 0 }, + { "unsetenv", "Search for tag unsetenv", CMPL0 NULL, 0 },


16a04e0fcc Stefan Sperling

add a dhcp restart command; requested by Tom


eb5d12f955 Stefan Sperling

fix sqlite API error handling

- call sqlite3_errmsg(db) before closing the db, not after - sqlite3_errmsg() can only be used when sqlite3_step() returns SQLITE_ERROR - check for errors from sqlite3_finalize() - close db handle even when an error occurred during sqlite3_open() with suggestions from chris testing + ok tom


dd054fead9 Stefan Sperling

Fix dhcpd handling with respect to rdoamins

Run dhcpd in the correct rdomain when rdomain is != 0 and start dhcpd with a list of interfaces on its command line. All interfaces must be in the same rdomain; dhcpd will then set its own rdomain accordingly. Use a separate DHCP lease database per rdomain just in case a given MAC and IP tuple appears in multiple rdomains. earlier version ok + testing by Tom


85c6a75007 Stefan Sperling

allow T_HANDLER to process any number of arguments between 0 and 6

This way we can write handlers that accept all arguments listed in their ctl table as actual arguments, rather than passing unused parameters which contain ununitialized garbage. The benefit is better clarity about the expected values of arguments passed on by handler functions. Adjust motd and crontab handlers accordingly which use T_HANDLER. All instances of call_editor() now use T_HANDLER_FILL1. ok chris