[oe-commits] Bian Naimeng : snmpd: instead option -LS by -Ls

git at git.openembedded.org git at git.openembedded.org
Thu Feb 12 18:38:21 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: 4e08e7c3a5c36c859e01e4d2168ea3e1b287bcc0
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=4e08e7c3a5c36c859e01e4d2168ea3e1b287bcc0

Author: Bian Naimeng <biannm at cn.fujitsu.com>
Date:   Tue Feb 10 09:38:52 2015 +0800

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 at cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>

---

 meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 10a1eb2..3b336a0 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
 
 [Service]
 Type=notify
-Environment=OPTIONS="-LS0-6d"
+Environment=OPTIONS="-Ls0-6d"
 EnvironmentFile=-/etc/default/snmpd
 ExecStart=/usr/sbin/snmpd $OPTIONS -f
 ExecReload=/bin/kill -HUP $MAINPID



More information about the Openembedded-commits mailing list