summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBian Naimeng <biannm@cn.fujitsu.com>2015-02-10 09:38:52 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2015-02-11 21:27:29 -0500
commit4e08e7c3a5c36c859e01e4d2168ea3e1b287bcc0 (patch)
treef4898acba651e1ee5d90727aee75089e1400e122
parentde5d7d91baba0d621633746072f3c04fdf8fb7ef (diff)
downloadmeta-openembedded-4e08e7c3a5c36c859e01e4d2168ea3e1b287bcc0.tar.gz
snmpd: instead option -LS by -Ls
Option -LS does not work, we should instead it by -Ls as usage said. Deprecated options: -l FILE use -Lf <FILE> instead -P use -p instead -s use -Lsd instead -S d|i|0-7 use -Ls <facility> instead Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service b/meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service
index 10a1eb212..3b336a054 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service
@@ -4,7 +4,7 @@ After=syslog.target network.target
4 4
5[Service] 5[Service]
6Type=notify 6Type=notify
7Environment=OPTIONS="-LS0-6d" 7Environment=OPTIONS="-Ls0-6d"
8EnvironmentFile=-/etc/default/snmpd 8EnvironmentFile=-/etc/default/snmpd
9ExecStart=/usr/sbin/snmpd $OPTIONS -f 9ExecStart=/usr/sbin/snmpd $OPTIONS -f
10ExecReload=/bin/kill -HUP $MAINPID 10ExecReload=/bin/kill -HUP $MAINPID