CircuitForge node bootstrap/installer, forked from PRbL-bashrc
- get_top_processes: use 'comm' instead of 'args' so the actual binary name is shown instead of a path truncated before reaching it; also exclude the ps invocation itself, which was always appearing with an inflated %cpu artifact from its own brief runtime. - Network Information: interfaces matching grouped_adapter_patterns (Docker br-*/veth*/docker0 by default) are now tallied into a single summary line instead of printed individually. On a host running many containers this cut the section from 100+ lines to a handful. - get_security_info: failed-login count used `journalctl -u sshd`, but the systemd unit is named ssh.service on Debian/Ubuntu, so the query silently matched zero entries there. Filter by `_COMM=sshd` instead, which matches the actual binary name regardless of unit naming, and add /var/log/secure as a fallback alongside /var/log/auth.log. |
||
|---|---|---|
| lib | ||
| PRbL@7b63dbca46 | ||
| scripts | ||
| .gitignore | ||
| .gitmodules | ||
| functions | ||
| install.sh | ||
| README.md | ||
| scriptexample.sh | ||
Pyr0ball's Reductive [bash] Library Auto-Installer
This installer depends on PRbL and should be cloned recursively:
git clone --recurse-submodules https://github.com/pyr0ball/PRbL-bashrc.git
cd PRbL-bashrc/
./install.sh -i
This installer sets up a number of bash-enhancing features:
- Easy access to easy-to-use functions in bash scripting (check out ./PRbL/demo.sh for details)
- A pluggable environment configuration via ~/.bashrc.d/
- An informative terminal login splash page
Currently this installer only handles bash-like environments.
Planned features:
- Expanded automatic OS detection and package handling
- Modular login splash page