Commits
- Commit:
79df5edad678f1cca01da8875f4f7b7f2d9ca705
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make the rtable command actually update the rtable of the nsh process
The assumption that nsh always runs in rdomain 0 is invalid. Stop
assuming that cli_rtable is set to zero by default, and switch the
nsh process rdomain accordingly as needed.
- Commit:
f7111bee0697dc42252d3d381f4643b9aeca6431
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
on startup, initialize cli_rtable to the current rdomain
Fixes behaviour when nsh starts in a non-default rdomain. We used to
assume to start out in rdomain 0, which is not necessarily the case.
- Commit:
956b87649feaa87632c0dbbb7a3a8261c27288f5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use cli_rtable to construct the bgp socket path, not getrtable(2)
- Commit:
b3ef1874c36079d2d553f0f0ff29c020adda57a4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove fallback code for OpenBSD 6.8 and earlier
- Commit:
8b2d313fcfd72c808e3b125f1c5033a1270e7bca
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove references to dhclient(8); obsolete since OpenBSD 7.2
Should fix github issue #163 as a side effect
- Commit:
ce8077eccc5233b5f21eb44989f89cd0daa504d1
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #161 from smytht/logger
add logger command for entering messages into the ..
- Commit:
309124c7f0f0a02f979d48dca25193c81c97ed27
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update extensive-nsh-openbsd-integrate.sh move motd on import
move /etc/motd on import so the sym link works then
- Commit:
4282096ce0a55f2acaff2df0813c066751158cb7
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
add logger command for entering messages into the ..
system log or /var/log/messages
- Commit:
69aa42d63b79974d2490eeb6ac9565ff042527ff
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
honour DESTDIR in 'make install' target
- Commit:
d439592012f7858a81ef1e384713128905908e10
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update README.md remove chmod commands and use sh ...
.. with shell script instead based on feedback from STSP
- Commit:
f59823bb564ec56fae2ab0b57805418d866d96c4
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Version Bump for release 1.2.2
- Commit:
eb100e28639f52a21d42487a19bd814018fd9ec7
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update README.md rollback explict shell prompt inclusion as it was counter productive
- Commit:
741b54eca9d01739d17beea6894e956706be4849
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update README.md ahead of release
- Commit:
1bcd050e149bc20ed613376c13ff72a8ef8ec8b6
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
minor corrections to nsh.8 before release
mandoc -Tlint
- Commit:
e574499cef8eb40e8e4ce648b147b980e5c2ef7f
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
update nsh.8 dates and versions in advance of release
- Commit:
21b1dfdbf54e96ff9cb8cb9a05f38ac2d344dbaa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a 'make static' target which builds statically linked binaries
The goal is to make it easier to build the -static flavour of nsh in
the OpenBSD ports tree.
- Commit:
44b5f33be4167e1a0e293c21158bbf235acb1a21
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
su is an alias of enable for convenience
su should not be displayed in help / context help in nsh
su will work but not be suggested to user during tab completion
- Commit:
0d765e280f916ebcaedc263fb41e4f388b35ecc8
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update nsh.8 to reflect and dates version changes prior to new release
- Commit:
ae3b5241d9476f2b9fe03e7731369255d390736b
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update extensive-nsh-openbsd-integrate.sh
remove hostname.if and mygate on Integration script run per comment above those lines
and
add commands to backup the
hostname
and hosts file configuration
- Commit:
65acc1ab450b8a0ccc3dd01cb8278dac3ac15fa0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix adding blackhole and reject routes; a gateway is required
Fixes an invalid route message error during nsh -i at boot time:
% cmd: route (line 49) margv [route 224.0.0.0/4 127.0.0.1 iface nompath reject]
% RTM_ADD: Add Route: len 128, table 0, pid: 0, seq 1, errno 0, flags:<UP,REJECT,STATIC>
% locks: inits:
% sockaddrs: <DST,NETMASK>
224.0.0.0 240.0.0.0
% ip_route: rtmsg: Invalid argument
test + ok Tom
- Commit:
1ecf319919277305fea3d35396c316fc23e7f3db
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
create save.sh during "make install" if it is missing
- Commit:
45a20fd0427c384c2962123c585d8dadd87f41de
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix whitespace
- Commit:
ed5e527151cf142e2a392c68bd700200143947bb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
improve wording of integration script's introductory message
- Commit:
ff56724257c93870295ed0b02c69b477d2bca0ad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix typos in integration script's introductory warning message
- Commit:
da2af3ac496403f12598bebd4b3474f4bad787e9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
silence ifconfig errors related to carp demotion at boot time
This happens when nsh is started by /etc/rc.d/nsh during boot.
The /etc/rc script starts package scripts with carp-interlock already
enabled, and both ifconfig and nsh would attempt to reset the carp
demotion counter. Generally, this is harmless, apart from an error
message displayed by ifconfig which might mislead users into assuming
there was a problem:
starting package daemons: nsh.
ifconfig: carp: SIOCSIFGATTR: Invalid argument
To avoid this issue, nsh can check whether the demotion counter has
already been set to the desired level and only change the counter if
changing it is indeed required.
test + ok Tom