Skip to content

System

Index

system::require_bash_version

Die if the running bash version is older than the required major.minor version.

Arguments

  • $1 (required): major version (e.g. 4)
  • $2 (required): minor version (e.g. 3)

system::reload_sysctl_conf

Prompt and then reload sysctl configuration via 'sudo sysctl --system'. shellcheck disable=SC2120 # called with no args by callers, shellcheck can't see all call sites

Function has no arguments.