mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-01-20 02:55:26 +00:00
16 lines
587 B
Diff
16 lines
587 B
Diff
--- net-snmp-5.9/net-snmp-create-v3-user.in 2020-08-14 21:41:47.000000000 +0000
|
|
+++ net-snmp-5.9/net-snmp-create-v3-user.in 2021-01-14 07:04:26.196982169 +0000
|
|
@@ -3,10 +3,8 @@
|
|
# this shell script is designed to add new SNMPv3 users
|
|
# to Net-SNMP config file.
|
|
|
|
-if @PSCMD@ | @EGREP@ ' snmpd *$' > /dev/null 2>&1 ; then
|
|
- echo "Apparently at least one snmpd daemon is already running."
|
|
- echo "You must stop them in order to use this command."
|
|
- exit 1
|
|
+if @PSCMD@ | @EGREP@ 'snmpd' > /dev/null 2>&1 ; then
|
|
+ systemctl stop service.net-snmp.service
|
|
fi
|
|
|
|
Aalgorithm="MD5"
|