minor correction and first shot of disk configuration to base future works

This commit is contained in:
levasseur
2022-02-21 18:48:57 +01:00
parent b9fc8ed51c
commit e8c6f46572
7 changed files with 52 additions and 7 deletions

View File

@@ -8,7 +8,7 @@
# https://opensource.org/licenses/BSD-3-Clause
# ------------------------------------------------------------------------------
export VER_patch_snmp="0.1.0"
export VER_patch_snmp="0.1.1"
export DEP_patch_snmp="install_pkg"
patch_snmp()
@@ -17,7 +17,7 @@ patch_snmp()
backup_dist /etc/snmp/snmpd.conf /etc/default/snmpd \
/lib/systemd/system/snmpd.service /etc/init.d/snmpd
install_file snmpd/snmpd.conf /etc/snmp/snmpd.conf
tagfile /etc/snmp/snmpd.conf
tag_file /etc/snmp/snmpd.conf
# No longer required with Debian >= 11 or Devuan >= 4
if [[ ($SYS_DIST == 'debian' && $SYS_VER -lt 11) ||
($SYS_DIST == 'devuan' && $SYS_VER -lt 4) ]]; then