Improve help output with latest changes from sequencer

This commit is contained in:
2022-01-23 23:06:46 +01:00
parent e641373a57
commit 6dd40bc6c2
12 changed files with 80 additions and 83 deletions

View File

@@ -20,9 +20,11 @@ step_1() {
}
step_2_info() {
echo "Setup snmp v3 access [-s]"
echoinfoArgs "[-s]"
echo "Setup snmp v3 access"
echoinfo " -s : Stop after creating authentication entry"
}
step_2_alias() { ALIAS="v3access"; }
step_2() {
#
## Create authentication entry
@@ -90,8 +92,9 @@ step_2() {
}
v3AuthLoc="/var/lib/snmp/snmpd.conf"
step_5_info() {
echo "Add ufw rules for port 161 udp [INTERFACE]"
step_5_info() {
echoinfoArgs "[INTERFACE]"
echo "Add ufw rules for port 161 udp"
echoinfo " [INTERFACE] (default: eth0)"
}
step_5_alias() { ALIAS="ufw"; }
@@ -425,9 +428,7 @@ dhcpExtendConfigLoc="${toolConfigLoc}/dhcp.json"
dhcpExtendConfig="{\"leasefile\": \"/var/lib/dhcp/dhcpd.leases\"
}"
step_44_info() {
echo "Extend unbound stats"
}
step_44_info() { echo "Extend unbound stats"; }
step_44_alias() { ALIAS="unbound"; }
step_44() {
local locExtName="unbound"
@@ -486,5 +487,5 @@ checkExtend() {
return 0
}
VERSION_SEQREV=12
VERSION_SEQREV=14
. /usr/local/bin/sequencer.sh