Skip to content
Snippets Groups Projects
Commit b70c0d73 authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

userspace: bugfix in apply-dot-config


The shell we have in the switch, unfortunately, reports variables
in "set" as quoted.  This means we had all our substitutions wrong
in snmpd.conf. This commit removes the quotes, and stuff now works better.

I got this in my syslog, for example:

   /wr/etc/snmpd.conf: line 10: Error: cannot create trapsink: '192.168.16.1'
   getaddrinfo: 'morgana' Name or service not known

Because it had to be "morgana" not "'morgana'", same for IP address.

Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
parent bd657463
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment